home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The EduCorp CD Sampler
/
EduCorpCD-Sampler-1991.iso
/
Sample Images
/
Backgrounds Demo
/
Backgrounds Demo.rsrc
/
bin.rsrc_CODE_101_Main.txt
< prev
next >
Wrap
Text File
|
1991-02-05
|
187KB
|
3,386 lines
# near model CODE resource
# jump table entries: 0-90 (91 of them)
00000000 301F move.w D0, [A7]+
00000002 E548 lsl D0.w, 2
00000004 41FA 0006 lea.l A0, [PC + 0x6 /* 0000000C, value 0x4EFA00AA */]
00000008 4EF0 0000 jmp [A0 + D0.w]
0000000C 4EFA 00AA jmp [PC + 0xAA /* 000000B8 */]
00000010 4EFA 079E jmp [PC + 0x79E /* 000007B0 */]
00000014 4EED 0652 jmp [A5 + 0x652 /* export_198 */]
00000018 4EED 0632 jmp [A5 + 0x632 /* export_194 */]
0000001C 4EFA 06C8 jmp [PC + 0x6C8 /* 000006E6 */]
00000020 4EED 062A jmp [A5 + 0x62A /* export_193 */]
00000024 4EED 0642 jmp [A5 + 0x642 /* export_196 */]
00000028 4EED 0612 jmp [A5 + 0x612 /* export_190 */]
0000002C 4EED 060A jmp [A5 + 0x60A /* export_189 */]
00000030 4EED 05BA jmp [A5 + 0x5BA /* export_179 */]
00000034 4EED 0A2A jmp [A5 + 0xA2A /* export_321 */]
00000038 4EFA 007E jmp [PC + 0x7E /* 000000B8 */]
0000003C 4EED 0622 jmp [A5 + 0x622 /* export_192 */]
00000040 4EED 061A jmp [A5 + 0x61A /* export_191 */]
00000044 4EED 063A jmp [A5 + 0x63A /* export_195 */]
00000048 4EED 057A jmp [A5 + 0x57A /* export_171 */]
0000004C 4EED 03A2 jmp [A5 + 0x3A2 /* export_112 */]
00000050 4EFA 05C6 jmp [PC + 0x5C6 /* 00000618 */]
00000054 4EFA 06C0 jmp [PC + 0x6C0 /* 00000716 */]
00000058 4EED 064A jmp [A5 + 0x64A /* export_197 */]
0000005C 4EED 05FA jmp [A5 + 0x5FA /* export_187 */]
00000060 4EED 0592 jmp [A5 + 0x592 /* export_174 */]
00000064 4EFA 071C jmp [PC + 0x71C /* 00000782 */]
00000068 4EED 059A jmp [A5 + 0x59A /* export_175 */]
0000006C 4EED 03CA jmp [A5 + 0x3CA /* export_117 */]
00000070 4EED 03E2 jmp [A5 + 0x3E2 /* export_120 */]
00000074 4EFA 005C jmp [PC + 0x5C /* 000000D2 */]
00000078 4EED 0A82 jmp [A5 + 0xA82 /* export_332 */]
0000007C 4EED 0C92 jmp [A5 + 0xC92 /* export_398 */]
00000080 4EED 05C2 jmp [A5 + 0x5C2 /* export_180 */]
00000084 4EED 0C9A jmp [A5 + 0xC9A /* export_399 */]
00000088 4EF8 0000 jmp [0x00000000 /* __m68k_reset_stack__ */]
0000008C 4EF8 0000 jmp [0x00000000 /* __m68k_reset_stack__ */]
00000090 4EED 04A2 jmp [A5 + 0x4A2 /* export_144 */]
00000094 4EED 05D2 jmp [A5 + 0x5D2 /* export_182 */]
00000098 4EED 05E2 jmp [A5 + 0x5E2 /* export_184 */]
0000009C 4EED 038A jmp [A5 + 0x38A /* export_109 */]
000000A0 4EED 05EA jmp [A5 + 0x5EA /* export_185 */]
000000A4 4EED 05F2 jmp [A5 + 0x5F2 /* export_186 */]
000000A8 4EED 03B2 jmp [A5 + 0x3B2 /* export_114 */]
000000AC 4EED 054A jmp [A5 + 0x54A /* export_165 */]
000000B0 4EFA 06FE jmp [PC + 0x6FE /* 000007B0 */]
000000B4 4EFA 071C jmp [PC + 0x71C /* 000007D2 */]
label000000B8:
000000B8 487A 0004 pea.l [PC + 0x4 /* 000000BE, value 0x12544472, pstring "TDriverEntry: Null" */]
000000BC ABFF syscall DebugStr
000000BE 1254 movea.b A1, [A4]
000000C0 4472 6976 neg.w <<invalid full ext with IS == 1 and I/IS == 6>>
000000C4 6572 bcs +0x74 /* 00000138 */
000000C6 456E 7472 chk.w D2, [A6 + 0x7472]
000000CA 793A moveq.l D4, 0x3A
000000CC 204E movea.l A0, A6
000000CE 756C moveq.l D2, 0x6C
000000D0 6C00 487A bge +0x487C /* 0000494C */
// begin alternate branch 000000D2-000000D8
label000000D2:
000000D2 487A 0004 pea.l [PC + 0x4 /* 000000D8, value 0x1A544472, pstring "TDriverEntry: SaveAnimport" */]
000000D6 ABFF syscall DebugStr
// end alternate branch 000000D2-000000D8
label000000D2: // (misaligned)
000000D4 0004 ABFF ori.b D4, 0xFF
000000D8 1A54 movea.b A5, [A4]
000000DA 4472 6976 neg.w <<invalid full ext with IS == 1 and I/IS == 6>>
000000DE 6572 bcs +0x74 /* 00000152 */
000000E0 456E 7472 chk.w D2, [A6 + 0x7472]
000000E4 793A moveq.l D4, 0x3A
000000E6 2053 movea.l A0, [A3]
000000E8 6176 bsr +0x78 /* 00000160 */
000000EA 6541 bcs +0x43 /* 0000012D */
000000EC 6E69 bgt +0x6B /* 00000157 */
000000EE 6D70 blt +0x72 /* 00000160 */
000000F0 6F72 ble +0x74 /* 00000164 */
000000F2 7400 moveq.l D2, 0x00
fn000000F4:
000000F4 4E56 FFF0 link A6, -0x0010
000000F8 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000000FC 2C2E 0008 move.l D6, [A6 + 0x8]
00000100 42A7 clr.l -[A7]
00000102 2F3A 00A6 move.l -[A7], [PC + 0xA6 /* 000001AA, value 0x434F4445 'CODE', cstring "CODENV" */]
00000106 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
0000010A A9A0 syscall GetResource
0000010C 265F movea.l A3, [A7]+
0000010E 200B move.l D0, A3
00000110 6606 bne +0x8 /* 00000118 */
00000112 487A 0082 pea.l [PC + 0x82 /* 00000196, value 0x12416C6C, pstring "AllocA5: No code 0" */]
00000116 ABFF syscall DebugStr
label00000118:
00000118 4EBA 0EC2 jsr [PC + 0xEC2 /* 00000FDC */]
0000011C 2E00 move.l D7, D0
0000011E 42A7 clr.l -[A7]
00000120 2053 movea.l A0, [A3]
00000122 2028 0008 move.l D0, [A0 + 0x8]
00000126 D087 add.l D0, D7
00000128 2F00 move.l -[A7], D0
0000012A 4EBA 120C jsr [PC + 0x120C /* 00001338 */]
0000012E 285F movea.l A4, [A7]+
00000130 2F0C move.l -[A7], A4
00000132 4EBA 0FCC jsr [PC + 0xFCC /* 00001100 */]
00000136 2F0C move.l -[A7], A4
label00000138:
00000138 4EBA 1234 jsr [PC + 0x1234 /* 0000136E */]
0000013C 2007 move.l D0, D7
0000013E D094 add.l D0, [A4]
00000140 7220 moveq.l D1, 0x20
00000142 9081 sub.l D0, D1
00000144 2F00 move.l -[A7], D0
00000146 4EBA 0EA0 jsr [PC + 0xEA0 /* 00000FE8 */]
0000014A 588F addq.l A7, 4
0000014C 2053 movea.l A0, [A3]
0000014E 4868 0010 pea.l [A0 + 0x10]
label00000152:
00000152 2007 move.l D0, D7
00000154 D094 add.l D0, [A4]
00000156 2F00 move.l -[A7], D0
00000158 2053 movea.l A0, [A3]
0000015A 2F28 0008 move.l -[A7], [A0 + 0x8]
0000015E 4EBA 1236 jsr [PC + 0x1236 /* 00001396 */]
// begin alternate branch 00000160-00000164
fn00000160:
00000160 1236 2046 move.b D1, [A6 + D2.w + 0x46]
// end alternate branch 00000160-00000164
fn00000160: // (misaligned)
00000162 2046 movea.l A0, D6
label00000164:
00000164 214C 0004 move.l [A0 + 0x4], A4
00000168 2007 move.l D0, D7
0000016A D094 add.l D0, [A4]
0000016C 7220 moveq.l D1, 0x20
0000016E 9081 sub.l D0, D1
00000170 2046 movea.l A0, D6
00000172 2080 move.l [A0], D0
00000174 42A7 clr.l -[A7]
00000176 2046 movea.l A0, D6
00000178 2F10 move.l -[A7], [A0]
0000017A 2F4D 0004 move.l [A7 + 0x4], A5
0000017E 2A5F movea.l A5, [A7]+
00000180 2A1F move.l D5, [A7]+
00000182 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00000186 4E5E unlink A6
00000188 2E9F move.l [A7], [A7]+
0000018A 4E75 rts
0000018C 8741 4C4C pack D3, D1, 0x4C4C
00000190 4F43 chk.w D7, D3
00000192 4135 0018 .invalid 0, [A5 + D0.w + 0x18] // invalid opcode 4 with b == 4
00000196 1241 movea.b A1, D1
00000198 6C6C bge +0x6E /* 00000206 */
0000019A 6F63 ble +0x65 /* 000001FF */
0000019C 4135 3A20 .invalid 0, [A5 + D3 * 2 + 0x20] // invalid opcode 4 with b == 4
000001A0 4E6F move A7, USP
000001A2 2063 movea.l A0, -[A3]
000001A4 6F64 ble +0x66 /* 0000020A */
000001A6 6520 bcs +0x22 /* 000001C8 */
000001A8 3000 move.w D0, D0
000001AA 434F chk.w D1, A7
000001AC 4445 neg.w D5
fn000001AE:
000001AE 4E56 0000 link A6, 0
000001B2 206E 0008 movea.l A0, [A6 + 0x8]
000001B6 2F28 0004 move.l -[A7], [A0 + 0x4]
000001BA 4EBA 1188 jsr [PC + 0x1188 /* 00001344 */]
000001BE 4E5E unlink A6
000001C0 2E9F move.l [A7], [A7]+
000001C2 4E75 rts
000001C4 8944 4953 pack D4, D4, 0x4953
label000001C8:
000001C8 504F addq.w A7, 8
000001CA 5345 subq.w D5, 1
000001CC 4135 0000 .invalid 0, [A5 + D0.w] // invalid opcode 4 with b == 4
000001D0 4A78 028E tst.w [0x0000028E /* ROM85 */]
000001D4 6B14 bmi +0x16 /* 000001EA */
000001D6 303C A8D7 move.w D0, 0xA8D7
000001DA A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000001DC 2248 movea.l A1, A0
000001DE 303C A89F move.w D0, 0xA89F
000001E2 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000001E4 B3C8 cmpa.l A1, A0
000001E6 6702 beq +0x4 /* 000001EA */
000001E8 4ED1 jmp [A1]
label000001EA:
000001EA 4E56 FFE2 link A6, -0x001E
000001EE 48E7 1F3C movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5
000001F2 42AE FFF4 clr.l [A6 - 0xC]
000001F6 426E 0010 clr.w [A6 + 0x10]
000001FA 206E 000C movea.l A0, [A6 + 0xC]
000001FE 2450 movea.l A2, [A0]
00000200 7000 moveq.l D0, 0x00
00000202 3012 move.w D0, [A2]
00000204 2D40 FFE6 move.l [A6 - 0x1A], D0
// begin alternate branch 00000206-00000208
label00000206:
00000206 FFE6 .invalid <<F/7/7>>
// end alternate branch 00000206-00000208
label00000206: // (misaligned)
00000208 226E 0008 movea.l A1, [A6 + 0x8]
// begin alternate branch 0000020A-00000212
label0000020A:
0000020A 0008 3D69 ori.b A0, 0x69 /* 'i' */
0000020E 0004 FFF0 ori.b D4, 0xF0
// end alternate branch 0000020A-00000212
label0000020A: // (misaligned)
0000020C 3D69 0004 FFF0 move.w [A6 - 0x10], [A1 + 0x4]
00000212 2429 0006 move.l D2, [A1 + 0x6]
00000216 3029 000C move.w D0, [A1 + 0xC]
0000021A 9042 sub.w D0, D2
0000021C 6F00 023E ble +0x240 /* 0000045C */
00000220 48C0 ext.l D0
00000222 2800 move.l D4, D0
00000224 D884 add.l D4, D4
00000226 5884 addq.l D4, 4
00000228 2D44 FFE2 move.l [A6 - 0x1E], D4
0000022C 7E20 moveq.l D7, 0x20
0000022E 80C7 divu.w D0, D7
00000230 2600 move.l D3, D0
00000232 4843 swap.w D3
00000234 72FF moveq.l D1, 0xFFFFFFFF
00000236 4A43 tst.w D3
00000238 6706 beq +0x8 /* 00000240 */
0000023A 5240 addq.w D0, 1
0000023C 9E43 sub.w D7, D3
0000023E EFA1 asl D1, D7
label00000240:
00000240 2D41 FFF8 move.l [A6 - 0x8], D1
00000244 48C0 ext.l D0
00000246 2D40 FFFC move.l [A6 - 0x4], D0
0000024A E580 asl D0, 2
0000024C A322 syscall NewHandleClear, flags=3
0000024E 6600 0208 bne +0x20A /* 00000458 */
00000252 2D48 FFF4 move.l [A6 - 0xC], A0
00000256 2602 move.l D3, D2
00000258 4843 swap.w D3
0000025A 3029 000A move.w D0, [A1 + 0xA]
0000025E 9043 sub.w D0, D3
00000260 6F00 01FA ble +0x1FC /* 0000045C */
00000264 3D40 FFF2 move.w [A6 - 0xE], D0
00000268 2851 movea.l A4, [A1]
0000026A 3E3C 000A move.w D7, 0xA /* '\n' */
label0000026E:
0000026E 246E 000C movea.l A2, [A6 + 0xC]
00000272 2452 movea.l A2, [A2]
label00000274:
00000274 4BF2 7000 lea.l A5, [A2 + D7.w]
00000278 222E FFE6 move.l D1, [A6 - 0x1A]
0000027C 9247 sub.w D1, D7
0000027E B2AE FFE2 cmp.l D1, [A6 - 0x1E]
00000282 6C18 bge +0x1A /* 0000029C */
00000284 202E FFE6 move.l D0, [A6 - 0x1A]
00000288 D0AE FFE2 add.l D0, [A6 - 0x1E]
0000028C 2D40 FFE6 move.l [A6 - 0x1A], D0
00000290 206E 000C movea.l A0, [A6 + 0xC]
00000294 A024 syscall SetHandleSize
00000296 6600 01C0 bne +0x1C2 /* 00000458 */
0000029A 60D2 bra -0x2C /* 0000026E */
label0000029C:
0000029C 3802 move.w D4, D2
0000029E 7C00 moveq.l D6, 0x00
000002A0 224C movea.l A1, A4
000002A2 2A2E FFFC move.l D5, [A6 - 0x4]
000002A6 266E FFF4 movea.l A3, [A6 - 0xC]
000002AA 2653 movea.l A3, [A3]
000002AC 3003 move.w D0, D3
000002AE 6100 014C bsr +0x14E /* 000003FC */
000002B2 3D47 FFEE move.w [A6 - 0x12], D7
000002B6 6054 bra +0x56 /* 0000030C */
label000002B8:
000002B8 2019 move.l D0, [A1]+
label000002BA:
000002BA 2213 move.l D1, [A3]
000002BC B181 xor.l D1, D0
000002BE 6612 bne +0x14 /* 000002D2 */
000002C0 4A06 tst.b D6
000002C2 6706 beq +0x8 /* 000002CA */
000002C4 6100 00F6 bsr +0xF8 /* 000003BC */
000002C8 7C00 moveq.l D6, 0x00
label000002CA:
000002CA 0644 0020 addi.w D4, 0x20 /* ' ' */
000002CE 584B addq.w A3, 4
000002D0 603A bra +0x3C /* 0000030C */
label000002D2:
000002D2 26C0 move.l [A3]+, D0
000002D4 7E03 moveq.l D7, 0x03
000002D6 7000 moveq.l D0, 0x00
label000002D8:
000002D8 E199 rol D1, 8
000002DA 4A01 tst.b D1
000002DC 6610 bne +0x12 /* 000002EE */
000002DE 4A06 tst.b D6
000002E0 660C bne +0xE /* 000002EE */
000002E2 5044 addq.w D4, 8
000002E4 6022 bra +0x24 /* 00000308 */
label000002E6:
000002E6 2011 move.l D0, [A1]
000002E8 C0AE FFF8 and.l D0, [A6 - 0x8]
000002EC 60CC bra -0x32 /* 000002BA */
label000002EE:
000002EE 1001 move.b D0, D1
000002F0 BD00 xor.b D0, D6
000002F2 E808 lsr D0.b, 4
000002F4 D040 add.w D0, D0
000002F6 4EBB 0066 jsr [PC + D0.w + 0x66]
000002FA 1001 move.b D0, D1
000002FC BD00 xor.b D0, D6
000002FE 0240 000F andi.w D0, 0xF
00000302 D040 add.w D0, D0
00000304 4EBB 0058 jsr [PC + D0.w + 0x58]
label00000308:
00000308 51CF FFCE dbf D7, -0x34 /* 000002D8 */
label0000030C:
0000030C 5345 subq.w D5, 1
0000030E 6EA8 bgt -0x56 /* 000002B8 */
00000310 67D4 beq -0x2A /* 000002E6 */
00000312 3E0D move.w D7, A5
00000314 9E4A sub.w D7, A2
00000316 BE6E FFEE cmp.w D7, [A6 - 0x12]
0000031A 673C beq +0x3E /* 00000358 */
0000031C 6D00 0136 blt +0x138 /* 00000454 */
00000320 4A06 tst.b D6
00000322 6706 beq +0x8 /* 0000032A */
00000324 6100 0096 bsr +0x98 /* 000003BC */
00000328 5447 addq.w D7, 2
label0000032A:
0000032A 6100 00CC bsr +0xCE /* 000003F8 */
label0000032E:
0000032E 5243 addq.w D3, 1
00000330 3802 move.w D4, D2
00000332 D8EE FFF0 add.w A4, [A6 - 0x10]
00000336 536E FFF2 subq.w [A6 - 0xE], 1
0000033A 6E00 FF38 bgt -0xC6 /* 00000274 */
0000033E 6D00 00C2 blt +0xC4 /* 00000402 */
00000342 202E FFFC move.l D0, [A6 - 0x4]
00000346 E580 asl D0, 2
00000348 A322 syscall NewHandleClear, flags=3
0000034A 6600 010C bne +0x10E /* 00000458 */
0000034E 2D48 FFEA move.l [A6 - 0x16], A0
00000352 2850 movea.l A4, [A0]
00000354 6000 FF18 bra -0xE6 /* 0000026E */
label00000358:
00000358 558D subq.l A5, 2
0000035A 5547 subq.w D7, 2
0000035C 60D0 bra -0x2E /* 0000032E */
0000035E 6020 bra +0x22 /* 00000380 */
00000360 6022 bra +0x24 /* 00000384 */
00000362 602A bra +0x2C /* 0000038E */
00000364 6032 bra +0x34 /* 00000398 */
00000366 6038 bra +0x3A /* 000003A0 */
00000368 603E bra +0x40 /* 000003A8 */
0000036A 6042 bra +0x44 /* 000003AE */
0000036C 6046 bra +0x48 /* 000003B4 */
0000036E 6050 bra +0x52 /* 000003C0 */
00000370 6056 bra +0x58 /* 000003C8 */
00000372 605C bra +0x5E /* 000003D0 */
00000374 6062 bra +0x64 /* 000003D8 */
00000376 606A bra +0x6C /* 000003E2 */
00000378 6070 bra +0x72 /* 000003EA */
0000037A 6074 bra +0x76 /* 000003F0 */
0000037C 613E bsr +0x40 /* 000003BC */
0000037E 4606 not.b D6
label00000380:
00000380 5844 addq.w D4, 4
00000382 4E75 rts
label00000384:
00000384 5644 addq.w D4, 3
label00000386:
00000386 6134 bsr +0x36 /* 000003BC */
00000388 5244 addq.w D4, 1
label0000038A:
0000038A 4606 not.b D6
0000038C 4E75 rts
label0000038E:
0000038E 5444 addq.w D4, 2
00000390 612A bsr +0x2C /* 000003BC */
label00000392:
00000392 6126 bsr +0x28 /* 000003BA */
label00000394:
00000394 5244 addq.w D4, 1
00000396 4E75 rts
label00000398:
00000398 5444 addq.w D4, 2
0000039A 6120 bsr +0x22 /* 000003BC */
0000039C 5444 addq.w D4, 2
0000039E 60EA bra -0x14 /* 0000038A */
fn000003A0:
000003A0 6118 bsr +0x1A /* 000003BA */
000003A2 6116 bsr +0x18 /* 000003BA */
label000003A4:
000003A4 5444 addq.w D4, 2
000003A6 4E75 rts
label000003A8:
000003A8 61F6 bsr -0x8 /* 000003A0 */
000003AA 5344 subq.w D4, 1
000003AC 60D8 bra -0x26 /* 00000386 */
label000003AE:
000003AE 610A bsr +0xC /* 000003BA */
000003B0 5244 addq.w D4, 1
000003B2 60DE bra -0x20 /* 00000392 */
label000003B4:
000003B4 6104 bsr +0x6 /* 000003BA */
000003B6 5644 addq.w D4, 3
000003B8 60D0 bra -0x2E /* 0000038A */
fn000003BA:
000003BA 5244 addq.w D4, 1
fn000003BC:
000003BC 3AC4 move.w [A5]+, D4
000003BE 4E75 rts
label000003C0:
000003C0 61FA bsr -0x4 /* 000003BC */
000003C2 61F6 bsr -0x8 /* 000003BA */
000003C4 5644 addq.w D4, 3
000003C6 4E75 rts
label000003C8:
000003C8 61F2 bsr -0xC /* 000003BC */
000003CA 61EE bsr -0x10 /* 000003BA */
000003CC 5444 addq.w D4, 2
000003CE 60B6 bra -0x48 /* 00000386 */
label000003D0:
000003D0 61EA bsr -0x14 /* 000003BC */
000003D2 61E6 bsr -0x18 /* 000003BA */
000003D4 61E4 bsr -0x1A /* 000003BA */
000003D6 60BA bra -0x44 /* 00000392 */
label000003D8:
000003D8 61E2 bsr -0x1C /* 000003BC */
000003DA 61DE bsr -0x20 /* 000003BA */
000003DC 61DC bsr -0x22 /* 000003BA */
000003DE 5444 addq.w D4, 2
000003E0 60A8 bra -0x56 /* 0000038A */
fn000003E2:
000003E2 61D8 bsr -0x26 /* 000003BC */
000003E4 5444 addq.w D4, 2
000003E6 61D4 bsr -0x2A /* 000003BC */
000003E8 60BA bra -0x44 /* 000003A4 */
label000003EA:
000003EA 61F6 bsr -0x8 /* 000003E2 */
000003EC 5344 subq.w D4, 1
000003EE 6096 bra -0x68 /* 00000386 */
label000003F0:
000003F0 61CA bsr -0x34 /* 000003BC */
000003F2 5644 addq.w D4, 3
000003F4 61C6 bsr -0x38 /* 000003BC */
000003F6 609C bra -0x62 /* 00000394 */
fn000003F8:
000003F8 303C 7FFF move.w D0, 0x7FFF
fn000003FC:
000003FC 3AC0 move.w [A5]+, D0
000003FE 5447 addq.w D7, 2
00000400 4E75 rts
label00000402:
00000402 206E FFEA movea.l A0, [A6 - 0x16]
00000406 A023 syscall DisposHandle/DisposeHandle
00000408 0C47 000A cmpi.w D7, 0xA /* '\n' */
0000040C 674E beq +0x50 /* 0000045C */
0000040E 61E8 bsr -0x16 /* 000003F8 */
00000410 41EA 000A lea.l A0, [A2 + 0xA]
00000414 383C 7FFF move.w D4, 0x7FFF
00000418 3204 move.w D1, D4
0000041A 343C 8000 move.w D2, 0x8000
0000041E 3610 move.w D3, [A0]
00000420 6018 bra +0x1A /* 0000043A */
label00000422:
00000422 2248 movea.l A1, A0
00000424 B258 cmp.w D1, [A0]+
00000426 6F04 ble +0x6 /* 0000042C */
00000428 3228 FFFE move.w D1, [A0 - 0x2]
label0000042C:
0000042C B858 cmp.w D4, [A0]+
0000042E 66FC bne -0x2 /* 0000042C */
00000430 B468 FFFC cmp.w D2, [A0 - 0x4]
00000434 6C04 bge +0x6 /* 0000043A */
00000436 3428 FFFC move.w D2, [A0 - 0x4]
label0000043A:
0000043A 3018 move.w D0, [A0]+
0000043C B044 cmp.w D0, D4
0000043E 66E2 bne -0x1C /* 00000422 */
00000440 4843 swap.w D3
00000442 3601 move.w D3, D1
00000444 3829 FFFE move.w D4, [A1 - 0x2]
00000448 4844 swap.w D4
0000044A 3802 move.w D4, D2
0000044C 0C47 001C cmpi.w D7, 0x1C
00000450 6714 beq +0x16 /* 00000466 */
00000452 6014 bra +0x16 /* 00000468 */
label00000454:
00000454 303C E50C move.w D0, 0xE50C
label00000458:
00000458 3D40 0010 move.w [A6 + 0x10], D0
label0000045C:
0000045C 206E 000C movea.l A0, [A6 + 0xC]
00000460 2450 movea.l A2, [A0]
00000462 7600 moveq.l D3, 0x00
00000464 7800 moveq.l D4, 0x00
label00000466:
00000466 7E0A moveq.l D7, 0x0A
label00000468:
00000468 34C7 move.w [A2]+, D7
0000046A 24C3 move.l [A2]+, D3
0000046C 2484 move.l [A2], D4
0000046E 2007 move.l D0, D7
00000470 206E 000C movea.l A0, [A6 + 0xC]
00000474 A024 syscall SetHandleSize
00000476 206E FFF4 movea.l A0, [A6 - 0xC]
0000047A A023 syscall DisposHandle/DisposeHandle
0000047C 4CDF 3CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5, [A7]+
00000480 4E5E unlink A6
00000482 205F movea.l A0, [A7]+
00000484 504F addq.w A7, 8
00000486 4ED0 jmp [A0]
00000488 4E56 FEC4 link A6, -0x013C
0000048C 48E7 0108 movem.l -[A7], D7,A4
00000490 42A7 clr.l -[A7]
00000492 4EAD 0A2A jsr [A5 + 0xA2A /* export_321 */]
00000496 285F movea.l A4, [A7]+
00000498 1D7C 0001 0010 move.b [A6 + 0x10], 0x1
0000049E 2F3C 0001 0000 move.l -[A7], 0x10000
000004A4 486E FFE2 pea.l [A6 - 0x1E]
000004A8 4EBA 1322 jsr [PC + 0x1322 /* 000017CC */]
000004AC 3E1F move.w D7, [A7]+
000004AE 0C47 EA84 cmpi.w D7, 0xEA84
000004B2 6604 bne +0x6 /* 000004B8 */
000004B4 426E FFE6 clr.w [A6 - 0x1A]
label000004B8:
000004B8 0C6E 0602 FFE6 cmpi.w [A6 - 0x1A], 0x602
000004BE 5CC0 sge D0
000004C0 4400 neg.b D0
000004C2 1940 000C move.b [A4 + 0xC], D0
000004C6 196E FFEB 000D move.b [A4 + 0xD], [A6 - 0x15]
000004CC 422C 0007 clr.b [A4 + 0x7]
000004D0 396E FFF0 070C move.w [A4 + 0x70C], [A6 - 0x10]
000004D6 70FE moveq.l D0, 0xFFFFFFFE
000004D8 B06E FFE4 cmp.w D0, [A6 - 0x1C]
000004DC 56C0 sne D0
000004DE 4400 neg.b D0
000004E0 1940 000E move.b [A4 + 0xE], D0
000004E4 422C 0A18 clr.b [A4 + 0xA18]
000004E8 102C 000D move.b D0, [A4 + 0xD]
000004EC 6728 beq +0x2A /* 00000516 */
000004EE 42A7 clr.l -[A7]
000004F0 3F3C AB03 move.w -[A7], 0xAB03
000004F4 1F3C 0001 move.b -[A7], 0x1
000004F8 4EBA 0EB6 jsr [PC + 0xEB6 /* 000013B0 */]
000004FC 42A7 clr.l -[A7]
000004FE 3F3C A89F move.w -[A7], 0xA89F
00000502 1F3C 0001 move.b -[A7], 0x1
00000506 4EBA 0EA8 jsr [PC + 0xEA8 /* 000013B0 */]
0000050A 201F move.l D0, [A7]+
0000050C B09F cmp.l D0, [A7]+
0000050E 56C0 sne D0
00000510 4400 neg.b D0
00000512 1940 0A18 move.b [A4 + 0xA18], D0
label00000516:
00000516 102C 000C move.b D0, [A4 + 0xC]
0000051A 6612 bne +0x14 /* 0000052E */
0000051C 422E 0010 clr.b [A6 + 0x10]
00000520 206E 0008 movea.l A0, [A6 + 0x8]
00000524 4210 clr.b [A0]
00000526 206E 000C movea.l A0, [A6 + 0xC]
0000052A 30BC 0046 move.w [A0], 0x46 /* 'F' */
label0000052E:
0000052E 4CDF 1080 movem.l D7,A4, [A7]+
00000532 4E5E unlink A6
00000534 205F movea.l A0, [A7]+
00000536 504F addq.w A7, 8
00000538 4ED0 jmp [A0]
fn0000053A:
0000053A 4E56 0000 link A6, 0
0000053E 2F0C move.l -[A7], A4
00000540 102D EED9 move.b D0, [A5 - 0x1127]
00000544 6700 0094 beq +0x96 /* 000005DA */
00000548 2F2D FC08 move.l -[A7], [A5 - 0x3F8]
0000054C 4EAD 089A jsr [A5 + 0x89A /* export_271 */]
00000550 2F2D FC00 move.l -[A7], [A5 - 0x400]
00000554 4EAD 089A jsr [A5 + 0x89A /* export_271 */]
00000558 4EAD 08A2 jsr [A5 + 0x8A2 /* export_272 */]
0000055C 4EAD 0982 jsr [A5 + 0x982 /* export_300 */]
00000560 4EAD 08AA jsr [A5 + 0x8AA /* export_273 */]
00000564 2F2D FC0C move.l -[A7], [A5 - 0x3F4]
00000568 4EAD 07AA jsr [A5 + 0x7AA /* export_241 */]
0000056C 2F2D FC04 move.l -[A7], [A5 - 0x3FC]
00000570 4EBA 0DD2 jsr [PC + 0xDD2 /* 00001344 */]
00000574 2F2D FBFC move.l -[A7], [A5 - 0x404]
00000578 4EBA 0DCA jsr [PC + 0xDCA /* 00001344 */]
0000057C 486D FBF8 pea.l [A5 - 0x408]
00000580 4EAD 0D8A jsr [A5 + 0xD8A /* export_429 */]
00000584 2F2D FBE2 move.l -[A7], [A5 - 0x41E]
00000588 4EBA 0DBA jsr [PC + 0xDBA /* 00001344 */]
0000058C 486D F98A pea.l [A5 - 0x676]
00000590 4EAD 0DA2 jsr [A5 + 0xDA2 /* export_432 */]
00000594 486D F620 pea.l [A5 - 0x9E0]
00000598 4EAD 0A6A jsr [A5 + 0xA6A /* export_329 */]
0000059C 2F2D F618 move.l -[A7], [A5 - 0x9E8]
000005A0 4EBA 0DA2 jsr [PC + 0xDA2 /* 00001344 */]
000005A4 4EAD 0882 jsr [A5 + 0x882 /* export_268 */]
000005A8 2F2D FBDE move.l -[A7], [A5 - 0x422]
000005AC 4EBA 0D96 jsr [PC + 0xD96 /* 00001344 */]
000005B0 4EAD 0782 jsr [A5 + 0x782 /* export_236 */]
000005B4 286D EE96 movea.l A4, [A5 - 0x116A]
000005B8 486C 0710 pea.l [A4 + 0x710]
000005BC 4EAD 0A6A jsr [A5 + 0xA6A /* export_329 */]
000005C0 4AAC 0A08 tst.l [A4 + 0xA08]
000005C4 6706 beq +0x8 /* 000005CC */
000005C6 2F2C 0A08 move.l -[A7], [A4 + 0xA08]
000005CA AA30 syscall DisposeGDevice/DisposGDevice
label000005CC:
000005CC 4AAC 0A14 tst.l [A4 + 0xA14]
000005D0 6708 beq +0xA /* 000005DA */
000005D2 2F2C 0A14 move.l -[A7], [A4 + 0xA14]
000005D6 4EBA 0D6C jsr [PC + 0xD6C /* 00001344 */]
label000005DA:
000005DA 285F movea.l A4, [A7]+
000005DC 4E5E unlink A6
000005DE 4E75 rts
fn000005E0:
000005E0 4E56 0000 link A6, 0
000005E4 486D 04FA pea.l [A5 + 0x4FA /* export_155 */]
000005E8 A9F1 syscall UnloadSeg
000005EA 486D 069A pea.l [A5 + 0x69A /* export_207 */]
000005EE A9F1 syscall UnloadSeg
000005F0 486D 0C8A pea.l [A5 + 0xC8A /* export_397 */]
000005F4 A9F1 syscall UnloadSeg
000005F6 486D 0CA2 pea.l [A5 + 0xCA2 /* export_400 */]
000005FA A9F1 syscall UnloadSeg
000005FC 102D EED9 move.b D0, [A5 - 0x1127]
00000600 6712 beq +0x14 /* 00000614 */
00000602 486D 0742 pea.l [A5 + 0x742 /* export_228 */]
00000606 A9F1 syscall UnloadSeg
00000608 486D 0D22 pea.l [A5 + 0xD22 /* export_416 */]
0000060C A9F1 syscall UnloadSeg
0000060E 486D 0D1A pea.l [A5 + 0xD1A /* export_415 */]
00000612 A9F1 syscall UnloadSeg
label00000614:
00000614 4E5E unlink A6
00000616 4E75 rts
label00000618:
00000618 4E56 FFF8 link A6, -0x0008
0000061C 48E7 0118 movem.l -[A7], D7,A3,A4
00000620 2E2E 0008 move.l D7, [A6 + 0x8]
00000624 2F07 move.l -[A7], D7
00000626 4EBA FACC jsr [PC - 0x534 /* 000000F4 */]
0000062A 486D FFFC pea.l [A5 - 0x4]
0000062E A86E syscall InitGraf
00000630 2047 movea.l A0, D7
00000632 2868 0008 movea.l A4, [A0 + 0x8]
00000636 2047 movea.l A0, D7
00000638 2650 movea.l A3, [A0]
0000063A 2F0C move.l -[A7], A4
0000063C 2F0B move.l -[A7], A3
0000063E 7020 moveq.l D0, 0x20
00000640 2F00 move.l -[A7], D0
00000642 4EBA 0D52 jsr [PC + 0xD52 /* 00001396 */]
00000646 1F2E 001A move.b -[A7], [A6 + 0x1A]
0000064A 2F2E 0016 move.l -[A7], [A6 + 0x16]
0000064E 1F2E 0014 move.b -[A7], [A6 + 0x14]
00000652 1F2E 0012 move.b -[A7], [A6 + 0x12]
00000656 1F2E 0010 move.b -[A7], [A6 + 0x10]
0000065A 1F2E 000E move.b -[A7], [A6 + 0xE]
0000065E 1F2E 000C move.b -[A7], [A6 + 0xC]
00000662 4EAD 065A jsr [A5 + 0x65A /* export_199 */]
00000666 206D EE96 movea.l A0, [A5 - 0x116A]
0000066A 43ED EE46 lea.l A1, [A5 - 0x11BA]
0000066E 41E8 0026 lea.l A0, [A0 + 0x26]
00000672 22D8 move.l [A1]+, [A0]+
00000674 22D8 move.l [A1]+, [A0]+
00000676 486D EE46 pea.l [A5 - 0x11BA]
0000067A 2F3C 0004 0004 move.l -[A7], 0x40004
00000680 A8A9 syscall InsetRect
00000682 42A7 clr.l -[A7]
00000684 A975 syscall TickCount
00000686 2B5F EE6A move.l [A5 - 0x1196], [A7]+
0000068A 2B6D EE6A EE5E move.l [A5 - 0x11A2], [A5 - 0x1196]
00000690 2B6D EE6A EE5A move.l [A5 - 0x11A6], [A5 - 0x1196]
00000696 7000 moveq.l D0, 0x00
00000698 2B40 EE56 move.l [A5 - 0x11AA], D0
0000069C 206D EE96 movea.l A0, [A5 - 0x116A]
000006A0 4228 0586 clr.b [A0 + 0x586]
000006A4 206D EE96 movea.l A0, [A5 - 0x116A]
000006A8 4268 0590 clr.w [A0 + 0x590]
000006AC 206D EE96 movea.l A0, [A5 - 0x116A]
000006B0 41E8 0588 lea.l A0, [A0 + 0x588]
000006B4 43ED EE46 lea.l A1, [A5 - 0x11BA]
000006B8 20D9 move.l [A0]+, [A1]+
000006BA 20D9 move.l [A0]+, [A1]+
000006BC 206D EE96 movea.l A0, [A5 - 0x116A]
000006C0 7000 moveq.l D0, 0x00
000006C2 2140 0582 move.l [A0 + 0x582], D0
000006C6 206D EE96 movea.l A0, [A5 - 0x116A]
000006CA 4228 0008 clr.b [A0 + 0x8]
000006CE 486D 0CBA pea.l [A5 + 0xCBA /* export_403 */]
000006D2 A9F1 syscall UnloadSeg
000006D4 4EBA FF0A jsr [PC - 0xF6 /* 000005E0 */]
000006D8 4CDF 1880 movem.l D7,A3,A4, [A7]+
000006DC 4E5E unlink A6
000006DE 205F movea.l A0, [A7]+
000006E0 DEFC 0014 add.w A7, 0x14
000006E4 4ED0 jmp [A0]
label000006E6:
000006E6 4E56 0000 link A6, 0
000006EA 206D EE96 movea.l A0, [A5 - 0x116A]
000006EE 4868 056C pea.l [A0 + 0x56C]
000006F2 4EAD 09CA jsr [A5 + 0x9CA /* export_309 */]
000006F6 4EBA FE42 jsr [PC - 0x1BE /* 0000053A */]
000006FA 422D EED9 clr.b [A5 - 0x1127]
000006FE 1F2E 000C move.b -[A7], [A6 + 0xC]
00000702 4EAD 0602 jsr [A5 + 0x602 /* export_188 */]
00000706 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000070A 4EBA FAA2 jsr [PC - 0x55E /* 000001AE */]
0000070E 4E5E unlink A6
00000710 205F movea.l A0, [A7]+
00000712 5C4F addq.w A7, 6
00000714 4ED0 jmp [A0]
fn00000716:
00000716 4E56 FFEC link A6, -0x0014
0000071A 206D EE96 movea.l A0, [A5 - 0x116A]
0000071E 2D48 FFEC move.l [A6 - 0x14], A0
00000722 422D FF20 clr.b [A5 - 0xE0]
00000726 206E FFEC movea.l A0, [A6 - 0x14]
0000072A 4228 0716 clr.b [A0 + 0x716]
0000072E 422D EEE9 clr.b [A5 - 0x1117]
00000732 1D6D EED9 000C move.b [A6 + 0xC], [A5 - 0x1127]
00000738 2F2E 0012 move.l -[A7], [A6 + 0x12]
0000073C 2F2E 000E move.l -[A7], [A6 + 0xE]
00000740 1F2E 000C move.b -[A7], [A6 + 0xC]
00000744 1F2E 000A move.b -[A7], [A6 + 0xA]
00000748 1F2E 0008 move.b -[A7], [A6 + 0x8]
0000074C 4EAD 05DA jsr [A5 + 0x5DA /* export_183 */]
00000750 4A6D F5FA tst.w [A5 - 0xA06]
00000754 5EC0 sgt D0
00000756 4400 neg.b D0
00000758 1B40 FF20 move.b [A5 - 0xE0], D0
0000075C 1B6D FF20 EED8 move.b [A5 - 0x1128], [A5 - 0xE0]
00000762 206D EE96 movea.l A0, [A5 - 0x116A]
00000766 116D FF20 0716 move.b [A0 + 0x716], [A5 - 0xE0]
0000076C 422D EEE9 clr.b [A5 - 0x1117]
00000770 422D EEA6 clr.b [A5 - 0x115A]
00000774 4EBA FE6A jsr [PC - 0x196 /* 000005E0 */]
00000778 4E5E unlink A6
0000077A 205F movea.l A0, [A7]+
0000077C DEFC 000E add.w A7, 0xE
00000780 4ED0 jmp [A0]
label00000782:
00000782 4E56 0000 link A6, 0
00000786 102D FF20 move.b D0, [A5 - 0xE0]
0000078A 670A beq +0xC /* 00000796 */
0000078C 4EBA 0654 jsr [PC + 0x654 /* 00000DE2 */]
00000790 422E 0010 clr.b [A6 + 0x10]
00000794 6012 bra +0x14 /* 000007A8 */
label00000796:
00000796 4267 clr.w -[A7]
00000798 2F2E 000C move.l -[A7], [A6 + 0xC]
0000079C 2F2E 0008 move.l -[A7], [A6 + 0x8]
000007A0 4EAD 0582 jsr [A5 + 0x582 /* export_172 */]
000007A4 1D5F 0010 move.b [A6 + 0x10], [A7]+
label000007A8:
000007A8 4E5E unlink A6
000007AA 205F movea.l A0, [A7]+
000007AC 504F addq.w A7, 8
000007AE 4ED0 jmp [A0]
label000007B0:
000007B0 4E56 0000 link A6, 0
000007B4 102D FF20 move.b D0, [A5 - 0xE0]
000007B8 670A beq +0xC /* 000007C4 */
000007BA 4EBA 0626 jsr [PC + 0x626 /* 00000DE2 */]
000007BE 422E 0008 clr.b [A6 + 0x8]
000007C2 600A bra +0xC /* 000007CE */
label000007C4:
000007C4 4267 clr.w -[A7]
000007C6 4EAD 058A jsr [A5 + 0x58A /* export_173 */]
000007CA 1D5F 0008 move.b [A6 + 0x8], [A7]+
label000007CE:
000007CE 4E5E unlink A6
000007D0 4E75 rts
label000007D2:
000007D2 4E56 FEFE link A6, -0x0102
000007D6 422E 0008 clr.b [A6 + 0x8]
000007DA 102D EED9 move.b D0, [A5 - 0x1127]
000007DE 6748 beq +0x4A /* 00000828 */
000007E0 4267 clr.w -[A7]
000007E2 486E FF00 pea.l [A6 - 0x100]
000007E6 486E FEFE pea.l [A6 - 0x102]
000007EA 4EAD 06FA jsr [A5 + 0x6FA /* export_219 */]
000007EE 101F move.b D0, [A7]+
000007F0 6736 beq +0x38 /* 00000828 */
000007F2 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
000007F8 486E FF00 pea.l [A6 - 0x100]
000007FC 3F2E FEFE move.w -[A7], [A6 - 0x102]
00000800 4267 clr.w -[A7]
00000802 1F3C 0001 move.b -[A7], 0x1
00000806 4267 clr.w -[A7]
00000808 1F3C 0001 move.b -[A7], 0x1
0000080C 4EBA FF08 jsr [PC - 0xF8 /* 00000716 */]
00000810 206D EE96 movea.l A0, [A5 - 0x116A]
00000814 4A50 tst.w [A0]
00000816 660C bne +0xE /* 00000824 */
00000818 1F3C 0001 move.b -[A7], 0x1
0000081C 4EAD 0592 jsr [A5 + 0x592 /* export_174 */]
00000820 4EBA 05C0 jsr [PC + 0x5C0 /* 00000DE2 */]
label00000824:
00000824 4EAD 05BA jsr [A5 + 0x5BA /* export_179 */]
label00000828:
00000828 4E5E unlink A6
0000082A 4E75 rts
fn0000082C:
0000082C 4E56 0000 link A6, 0
00000830 4E5E unlink A6
00000832 4E75 rts
fn00000834:
00000834 4E56 FFFC link A6, -0x0004
00000838 486E FFFC pea.l [A6 - 0x4]
0000083C 4EAD 0BB2 jsr [A5 + 0xBB2 /* export_370 */]
00000840 2F2D EE7C move.l -[A7], [A5 - 0x1184]
00000844 A922 syscall BeginUpdate
00000846 4267 clr.w -[A7]
00000848 4EAD 060A jsr [A5 + 0x60A /* export_189 */]
0000084C 4A5F tst.w [A7]+
0000084E 6716 beq +0x18 /* 00000866 */
00000850 206D EE96 movea.l A0, [A5 - 0x116A]
00000854 2068 001A movea.l A0, [A0 + 0x1A]
00000858 2068 0018 movea.l A0, [A0 + 0x18]
0000085C 2050 movea.l A0, [A0]
0000085E 4868 0002 pea.l [A0 + 0x2]
00000862 4EAD 03CA jsr [A5 + 0x3CA /* export_117 */]
label00000866:
00000866 2F2D EE7C move.l -[A7], [A5 - 0x1184]
0000086A A923 syscall EndUpdate
0000086C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000870 4EAD 0BBA jsr [A5 + 0xBBA /* export_371 */]
00000874 4E5E unlink A6
00000876 4E75 rts
fn00000878:
00000878 4E56 FFFC link A6, -0x0004
0000087C 302D EE7A move.w D0, [A5 - 0x1186]
00000880 5740 subq.w D0, 3
00000882 671E beq +0x20 /* 000008A2 */
00000884 5340 subq.w D0, 1
00000886 670A beq +0xC /* 00000892 */
00000888 5340 subq.w D0, 1
0000088A 6716 beq +0x18 /* 000008A2 */
0000088C 5340 subq.w D0, 1
0000088E 6718 beq +0x1A /* 000008A8 */
00000890 602C bra +0x2E /* 000008BE */
label00000892:
00000892 2F2D EE7C move.l -[A7], [A5 - 0x1184]
00000896 2F2D FF22 move.l -[A7], [A5 - 0xDE]
0000089A 486D EE46 pea.l [A5 - 0x11BA]
0000089E A925 syscall DragWindow
000008A0 601C bra +0x1E /* 000008BE */
label000008A2:
000008A2 4EAD 0762 jsr [A5 + 0x762 /* export_232 */]
000008A6 6016 bra +0x18 /* 000008BE */
label000008A8:
000008A8 4267 clr.w -[A7]
000008AA 2F2D EE7C move.l -[A7], [A5 - 0x1184]
000008AE 2F2D FF22 move.l -[A7], [A5 - 0xDE]
000008B2 A91E syscall TrackGoAway
000008B4 101F move.b D0, [A7]+
000008B6 6706 beq +0x8 /* 000008BE */
000008B8 2F2D EE7C move.l -[A7], [A5 - 0x1184]
000008BC A916 syscall HideWindow
label000008BE:
000008BE 4E5E unlink A6
000008C0 4E75 rts
fn000008C2:
000008C2 4E56 0000 link A6, 0
000008C6 1B7C 0001 FF21 move.b [A5 - 0xDF], 0x1
000008CC 302D EE86 move.w D0, [A5 - 0x117A]
000008D0 5340 subq.w D0, 1
000008D2 6722 beq +0x24 /* 000008F6 */
000008D4 5340 subq.w D0, 1
000008D6 6724 beq +0x26 /* 000008FC */
000008D8 5340 subq.w D0, 1
000008DA 6726 beq +0x28 /* 00000902 */
000008DC 5540 subq.w D0, 2
000008DE 6722 beq +0x24 /* 00000902 */
000008E0 5340 subq.w D0, 1
000008E2 670C beq +0xE /* 000008F0 */
000008E4 5540 subq.w D0, 2
000008E6 6702 beq +0x4 /* 000008EA */
000008E8 601C bra +0x1E /* 00000906 */
label000008EA:
000008EA 4EBA FF40 jsr [PC - 0xC0 /* 0000082C */]
000008EE 6016 bra +0x18 /* 00000906 */
label000008F0:
000008F0 4EBA FF42 jsr [PC - 0xBE /* 00000834 */]
000008F4 6010 bra +0x12 /* 00000906 */
label000008F6:
000008F6 4EBA FF80 jsr [PC - 0x80 /* 00000878 */]
000008FA 600A bra +0xC /* 00000906 */
label000008FC:
000008FC 4EAD 075A jsr [A5 + 0x75A /* export_231 */]
00000900 6004 bra +0x6 /* 00000906 */
label00000902:
00000902 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
label00000906:
00000906 4E5E unlink A6
00000908 4E75 rts
fn0000090A:
0000090A 4E56 FFFC link A6, -0x0004
0000090E 4AAD EE7C tst.l [A5 - 0x1184]
00000912 6602 bne +0x4 /* 00000916 */
00000914 6056 bra +0x58 /* 0000096C */
label00000916:
00000916 486E FFFC pea.l [A6 - 0x4]
0000091A A874 syscall GetPort
0000091C 2F2D EE7C move.l -[A7], [A5 - 0x1184]
00000920 A873 syscall SetPort
00000922 4267 clr.w -[A7]
00000924 486D EE86 pea.l [A5 - 0x117A]
00000928 2F2D EE7C move.l -[A7], [A5 - 0x1184]
0000092C 3F2D EE7A move.w -[A7], [A5 - 0x1186]
00000930 4EAD 08B2 jsr [A5 + 0x8B2 /* export_274 */]
00000934 101F move.b D0, [A7]+
00000936 662E bne +0x30 /* 00000966 */
00000938 486D EE90 pea.l [A5 - 0x1170]
0000093C A871 syscall GlobalToLocal
0000093E 206D EE96 movea.l A0, [A5 - 0x116A]
00000942 202D EE7C move.l D0, [A5 - 0x1184]
00000946 B0A8 001A cmp.l D0, [A0 + 0x1A]
0000094A 6606 bne +0x8 /* 00000952 */
0000094C 4EBA FF74 jsr [PC - 0x8C /* 000008C2 */]
00000950 6014 bra +0x16 /* 00000966 */
label00000952:
00000952 7006 moveq.l D0, 0x06
00000954 B06D EE86 cmp.w D0, [A5 - 0x117A]
00000958 660C bne +0xE /* 00000966 */
0000095A 2F2D EE7C move.l -[A7], [A5 - 0x1184]
0000095E A922 syscall BeginUpdate
00000960 2F2D EE7C move.l -[A7], [A5 - 0x1184]
00000964 A923 syscall EndUpdate
label00000966:
00000966 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000096A A873 syscall SetPort
label0000096C:
0000096C 4E5E unlink A6
0000096E 4E75 rts
fn00000970:
00000970 4E56 FFF8 link A6, -0x0008
00000974 48E7 0700 movem.l -[A7], D5,D6,D7
00000978 203C 0000 00FF move.l D0, 0xFF
0000097E C0AD EE88 and.l D0, [A5 - 0x1178]
00000982 3B40 EE74 move.w [A5 - 0x118C], D0
00000986 203C 0000 FF00 move.l D0, 0xFF00
0000098C C0AD EE88 and.l D0, [A5 - 0x1178]
00000990 E088 lsr D0, 8
00000992 3B40 EE72 move.w [A5 - 0x118E], D0
00000996 2B6D EE8C EE5E move.l [A5 - 0x11A2], [A5 - 0x1174]
0000099C 42A7 clr.l -[A7]
0000099E A924 syscall FrontWindow
000009A0 2B5F EE7C move.l [A5 - 0x1184], [A7]+
000009A4 7000 moveq.l D0, 0x00
000009A6 302D EE94 move.w D0, [A5 - 0x116C]
000009AA C0BC 0000 0100 and.l D0, 0x100
000009B0 4A80 tst.l D0
000009B2 6700 00D4 beq +0xD6 /* 00000A88 */
000009B6 102D F221 move.b D0, [A5 - 0xDDF]
000009BA 0A00 0001 xori.b D0, 0x1
000009BE 722E moveq.l D1, 0x2E
000009C0 B26D EE74 cmp.w D1, [A5 - 0x118C]
000009C4 57C1 seq D1
000009C6 7457 moveq.l D2, 0x57
000009C8 B46D EE74 cmp.w D2, [A5 - 0x118C]
000009CC 57C2 seq D2
000009CE 8202 or.b D1, D2
000009D0 7477 moveq.l D2, 0x77
000009D2 B46D EE74 cmp.w D2, [A5 - 0x118C]
000009D6 57C2 seq D2
000009D8 8202 or.b D1, D2
000009DA 7451 moveq.l D2, 0x51
000009DC B46D EE74 cmp.w D2, [A5 - 0x118C]
000009E0 57C2 seq D2
000009E2 8202 or.b D1, D2
000009E4 7471 moveq.l D2, 0x71
000009E6 B46D EE74 cmp.w D2, [A5 - 0x118C]
000009EA 57C2 seq D2
000009EC 8202 or.b D1, D2
000009EE C001 and.b D0, D1
000009F0 6720 beq +0x22 /* 00000A12 */
000009F2 1B7C 0001 EEE9 move.b [A5 - 0x1117], 0x1
000009F8 702E moveq.l D0, 0x2E
000009FA B06D EE74 cmp.w D0, [A5 - 0x118C]
000009FE 6610 bne +0x12 /* 00000A10 */
00000A00 2F3C 0003 0000 move.l -[A7], 0x30000
00000A06 2F2D EE88 move.l -[A7], [A5 - 0x1178]
00000A0A 4EBA 0C42 jsr [PC + 0xC42 /* 0000164E */]
00000A0E 3A1F move.w D5, [A7]+
label00000A10:
00000A10 607A bra +0x7C /* 00000A8C */
label00000A12:
00000A12 102D F221 move.b D0, [A5 - 0xDDF]
00000A16 0A00 0001 xori.b D0, 0x1
00000A1A 7260 moveq.l D1, 0x60
00000A1C B26D EE74 cmp.w D1, [A5 - 0x118C]
00000A20 57C1 seq D1
00000A22 747E moveq.l D2, 0x7E
00000A24 B46D EE74 cmp.w D2, [A5 - 0x118C]
00000A28 57C2 seq D2
00000A2A 8202 or.b D1, D2
00000A2C C001 and.b D0, D1
00000A2E 671C beq +0x1E /* 00000A4C */
00000A30 2F3C 0001 0000 move.l -[A7], 0x10000
00000A36 206D EE96 movea.l A0, [A5 - 0x116A]
00000A3A 1028 0007 move.b D0, [A0 + 0x7]
00000A3E 0A00 0001 xori.b D0, 0x1
00000A42 1F00 move.b -[A7], D0
00000A44 4EAD 064A jsr [A5 + 0x64A /* export_197 */]
00000A48 1C1F move.b D6, [A7]+
00000A4A 6040 bra +0x42 /* 00000A8C */
label00000A4C:
00000A4C 4AAD F0E4 tst.l [A5 - 0xF1C]
00000A50 6730 beq +0x32 /* 00000A82 */
00000A52 42A7 clr.l -[A7]
00000A54 3F2D EE74 move.w -[A7], [A5 - 0x118C]
00000A58 A93E syscall MenuKey
00000A5A 2E1F move.l D7, [A7]+
00000A5C 4267 clr.w -[A7]
00000A5E 2F07 move.l -[A7], D7
00000A60 A86A syscall HiWord
00000A62 3B5F EE78 move.w [A5 - 0x1188], [A7]+
00000A66 4267 clr.w -[A7]
00000A68 2F07 move.l -[A7], D7
00000A6A A86B syscall LoWord
00000A6C 3B5F EE76 move.w [A5 - 0x118A], [A7]+
00000A70 0C6D 01F4 EE78 cmpi.w [A5 - 0x1188], 0x1F4
00000A76 6F08 ble +0xA /* 00000A80 */
00000A78 4267 clr.w -[A7]
00000A7A A938 syscall HiliteMenu
00000A7C 4EAD 074A jsr [A5 + 0x74A /* export_229 */]
label00000A80:
00000A80 600A bra +0xC /* 00000A8C */
label00000A82:
00000A82 4EBA FE86 jsr [PC - 0x17A /* 0000090A */]
00000A86 6004 bra +0x6 /* 00000A8C */
label00000A88:
00000A88 4EBA FE80 jsr [PC - 0x180 /* 0000090A */]
label00000A8C:
00000A8C 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00000A90 4E5E unlink A6
00000A92 4E75 rts
fn00000A94:
00000A94 4E56 FFFC link A6, -0x0004
00000A98 2F07 move.l -[A7], D7
00000A9A 102D EEEB move.b D0, [A5 - 0x1115]
00000A9E 6734 beq +0x36 /* 00000AD4 */
00000AA0 42A7 clr.l -[A7]
00000AA2 2F2D FF22 move.l -[A7], [A5 - 0xDE]
00000AA6 A93D syscall MenuSelect
00000AA8 2E1F move.l D7, [A7]+
00000AAA 4267 clr.w -[A7]
00000AAC 2F07 move.l -[A7], D7
00000AAE A86A syscall HiWord
00000AB0 3B5F EE78 move.w [A5 - 0x1188], [A7]+
00000AB4 4267 clr.w -[A7]
00000AB6 2F07 move.l -[A7], D7
00000AB8 A86B syscall LoWord
00000ABA 3B5F EE76 move.w [A5 - 0x118A], [A7]+
00000ABE 4267 clr.w -[A7]
00000AC0 A938 syscall HiliteMenu
00000AC2 0C6D 01F4 EE78 cmpi.w [A5 - 0x1188], 0x1F4
00000AC8 6F0A ble +0xC /* 00000AD4 */
00000ACA 1B7C 0001 FF21 move.b [A5 - 0xDF], 0x1
00000AD0 4EAD 074A jsr [A5 + 0x74A /* export_229 */]
label00000AD4:
00000AD4 2E1F move.l D7, [A7]+
00000AD6 4E5E unlink A6
00000AD8 4E75 rts
fn00000ADA:
00000ADA 4E56 FFFC link A6, -0x0004
00000ADE 48E7 0308 movem.l -[A7], D6,D7,A4
00000AE2 286D EE96 movea.l A4, [A5 - 0x116A]
00000AE6 3E2D EE88 move.w D7, [A5 - 0x1178]
00000AEA 7000 moveq.l D0, 0x00
00000AEC 3007 move.w D0, D7
00000AEE C0BC FFFF FF00 and.l D0, 0xFFFFFF00
00000AF4 3E00 move.w D7, D0
00000AF6 0C47 0100 cmpi.w D7, 0x100
00000AFA 667C bne +0x7E /* 00000B78 */
00000AFC 082D 0000 EE8B btst.b [A5 - 0x1175], 0x0
00000B02 6738 beq +0x3A /* 00000B3C */
00000B04 2F2C 001A move.l -[A7], [A4 + 0x1A]
00000B08 A915 syscall ShowWindow
00000B0A 2F2C 001A move.l -[A7], [A4 + 0x1A]
00000B0E A91F syscall SelectWindow
00000B10 4EAD 0462 jsr [A5 + 0x462 /* export_136 */]
00000B14 4EAD 0482 jsr [A5 + 0x482 /* export_140 */]
00000B18 422D EE80 clr.b [A5 - 0x1180]
00000B1C 3F2C 05BC move.w -[A7], [A4 + 0x5BC]
00000B20 4EAD 0C7A jsr [A5 + 0xC7A /* export_395 */]
00000B24 2F2C 001A move.l -[A7], [A4 + 0x1A]
00000B28 A873 syscall SetPort
00000B2A 206D EE96 movea.l A0, [A5 - 0x116A]
00000B2E 2068 001A movea.l A0, [A0 + 0x1A]
00000B32 4868 0010 pea.l [A0 + 0x10]
00000B36 4EAD 03CA jsr [A5 + 0x3CA /* export_117 */]
00000B3A 603C bra +0x3E /* 00000B78 */
label00000B3C:
00000B3C 422C 0008 clr.b [A4 + 0x8]
00000B40 102D F5BD move.b D0, [A5 - 0xA43]
00000B44 6608 bne +0xA /* 00000B4E */
00000B46 A853 syscall ShowCursor
00000B48 1B7C 0001 F5BD move.b [A5 - 0xA43], 0x1
label00000B4E:
00000B4E 486C 00F0 pea.l [A4 + 0xF0]
00000B52 4EAD 0452 jsr [A5 + 0x452 /* export_134 */]
00000B56 4EAD 046A jsr [A5 + 0x46A /* export_137 */]
00000B5A 4EAD 048A jsr [A5 + 0x48A /* export_141 */]
00000B5E 2F2C 001A move.l -[A7], [A4 + 0x1A]
00000B62 A916 syscall HideWindow
00000B64 1B7C 0001 EE80 move.b [A5 - 0x1180], 0x1
00000B6A 3C2C 05BC move.w D6, [A4 + 0x5BC]
00000B6E 4267 clr.w -[A7]
00000B70 4EAD 0C7A jsr [A5 + 0xC7A /* export_395 */]
00000B74 3946 05BC move.w [A4 + 0x5BC], D6
label00000B78:
00000B78 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000B7C 4E5E unlink A6
00000B7E 4E75 rts
fn00000B80:
00000B80 4E56 FFF0 link A6, -0x0010
00000B84 206E 0008 movea.l A0, [A6 + 0x8]
00000B88 43EE FFF0 lea.l A1, [A6 - 0x10]
00000B8C 22D8 move.l [A1]+, [A0]+
00000B8E 22D8 move.l [A1]+, [A0]+
00000B90 22D8 move.l [A1]+, [A0]+
00000B92 22D8 move.l [A1]+, [A0]+
00000B94 422D FF21 clr.b [A5 - 0xDF]
00000B98 41ED EE86 lea.l A0, [A5 - 0x117A]
00000B9C 43EE FFF0 lea.l A1, [A6 - 0x10]
00000BA0 20D9 move.l [A0]+, [A1]+
00000BA2 20D9 move.l [A0]+, [A1]+
00000BA4 20D9 move.l [A0]+, [A1]+
00000BA6 20D9 move.l [A0]+, [A1]+
00000BA8 2B6D EE90 FF22 move.l [A5 - 0xDE], [A5 - 0x1170]
00000BAE 7000 moveq.l D0, 0x00
00000BB0 302D EE94 move.w D0, [A5 - 0x116C]
00000BB4 C0BC 0000 0200 and.l D0, 0x200
00000BBA 4A80 tst.l D0
00000BBC 56C0 sne D0
00000BBE 4400 neg.b D0
00000BC0 1B40 EE85 move.b [A5 - 0x117B], D0
00000BC4 7000 moveq.l D0, 0x00
00000BC6 302D EE94 move.w D0, [A5 - 0x116C]
00000BCA C0BC 0000 0800 and.l D0, 0x800
00000BD0 4A80 tst.l D0
00000BD2 56C0 sne D0
00000BD4 4400 neg.b D0
00000BD6 1B40 EE84 move.b [A5 - 0x117C], D0
00000BDA 7000 moveq.l D0, 0x00
00000BDC 302D EE94 move.w D0, [A5 - 0x116C]
00000BE0 C0BC 0000 0100 and.l D0, 0x100
00000BE6 4A80 tst.l D0
00000BE8 56C0 sne D0
00000BEA 4400 neg.b D0
00000BEC 1B40 EE83 move.b [A5 - 0x117D], D0
00000BF0 7000 moveq.l D0, 0x00
00000BF2 302D EE94 move.w D0, [A5 - 0x116C]
00000BF6 C0BC 0000 1000 and.l D0, 0x1000
00000BFC 4A80 tst.l D0
00000BFE 56C0 sne D0
00000C00 4400 neg.b D0
00000C02 1B40 EE82 move.b [A5 - 0x117E], D0
00000C06 302D EE86 move.w D0, [A5 - 0x117A]
00000C0A 6700 00B4 beq +0xB6 /* 00000CC0 */
00000C0E 5340 subq.w D0, 1
00000C10 6730 beq +0x32 /* 00000C42 */
00000C12 5340 subq.w D0, 1
00000C14 676E beq +0x70 /* 00000C84 */
00000C16 5340 subq.w D0, 1
00000C18 6700 00A0 beq +0xA2 /* 00000CBA */
00000C1C 5540 subq.w D0, 2
00000C1E 6700 009A beq +0x9C /* 00000CBA */
00000C22 5340 subq.w D0, 1
00000C24 670E beq +0x10 /* 00000C34 */
00000C26 5540 subq.w D0, 2
00000C28 670A beq +0xC /* 00000C34 */
00000C2A 5F40 subq.w D0, 7
00000C2C 6700 00B8 beq +0xBA /* 00000CE6 */
00000C30 6000 00B8 bra +0xBA /* 00000CEA */
label00000C34:
00000C34 2B6D EE88 EE7C move.l [A5 - 0x1184], [A5 - 0x1178]
00000C3A 4EBA FCCE jsr [PC - 0x332 /* 0000090A */]
00000C3E 6000 00AA bra +0xAC /* 00000CEA */
label00000C42:
00000C42 4267 clr.w -[A7]
00000C44 2F2D EE90 move.l -[A7], [A5 - 0x1170]
00000C48 486D EE7C pea.l [A5 - 0x1184]
00000C4C A92C syscall FindWindow
00000C4E 3B5F EE7A move.w [A5 - 0x1186], [A7]+
00000C52 2B6D EE6A EE62 move.l [A5 - 0x119E], [A5 - 0x1196]
00000C58 2B6D EE8C EE6A move.l [A5 - 0x1196], [A5 - 0x1174]
00000C5E 302D EE7A move.w D0, [A5 - 0x1186]
00000C62 5340 subq.w D0, 1
00000C64 6706 beq +0x8 /* 00000C6C */
00000C66 5340 subq.w D0, 1
00000C68 6708 beq +0xA /* 00000C72 */
00000C6A 6012 bra +0x14 /* 00000C7E */
label00000C6C:
00000C6C 4EBA FE26 jsr [PC - 0x1DA /* 00000A94 */]
00000C70 6078 bra +0x7A /* 00000CEA */
label00000C72:
00000C72 486D EE86 pea.l [A5 - 0x117A]
00000C76 2F2D EE7C move.l -[A7], [A5 - 0x1184]
00000C7A A9B3 syscall SystemClick
00000C7C 606C bra +0x6E /* 00000CEA */
label00000C7E:
00000C7E 4EBA FC8A jsr [PC - 0x376 /* 0000090A */]
00000C82 6066 bra +0x68 /* 00000CEA */
label00000C84:
00000C84 4267 clr.w -[A7]
00000C86 2F2D EE90 move.l -[A7], [A5 - 0x1170]
00000C8A 486D EE7C pea.l [A5 - 0x1184]
00000C8E A92C syscall FindWindow
00000C90 3B5F EE7A move.w [A5 - 0x1186], [A7]+
00000C94 4267 clr.w -[A7]
00000C96 486D EE86 pea.l [A5 - 0x117A]
00000C9A 2F2D EE7C move.l -[A7], [A5 - 0x1184]
00000C9E 3F2D EE7A move.w -[A7], [A5 - 0x1186]
00000CA2 4EAD 08B2 jsr [A5 + 0x8B2 /* export_274 */]
00000CA6 101F move.b D0, [A7]+
00000CA8 660E bne +0x10 /* 00000CB8 */
00000CAA 206D EE96 movea.l A0, [A5 - 0x116A]
00000CAE 1028 0716 move.b D0, [A0 + 0x716]
00000CB2 6704 beq +0x6 /* 00000CB8 */
00000CB4 4EAD 075A jsr [A5 + 0x75A /* export_231 */]
label00000CB8:
00000CB8 6030 bra +0x32 /* 00000CEA */
label00000CBA:
00000CBA 4EBA FCB4 jsr [PC - 0x34C /* 00000970 */]
00000CBE 602A bra +0x2C /* 00000CEA */
label00000CC0:
00000CC0 202D EE90 move.l D0, [A5 - 0x1170]
00000CC4 B0AD EE56 cmp.l D0, [A5 - 0x11AA]
00000CC8 670E beq +0x10 /* 00000CD8 */
00000CCA 42A7 clr.l -[A7]
00000CCC A975 syscall TickCount
00000CCE 2B5F EE5A move.l [A5 - 0x11A6], [A7]+
00000CD2 2B6D EE90 EE56 move.l [A5 - 0x11AA], [A5 - 0x1170]
label00000CD8:
00000CD8 42A7 clr.l -[A7]
00000CDA A924 syscall FrontWindow
00000CDC 2B5F EE7C move.l [A5 - 0x1184], [A7]+
00000CE0 4EBA FC28 jsr [PC - 0x3D8 /* 0000090A */]
00000CE4 6004 bra +0x6 /* 00000CEA */
label00000CE6:
00000CE6 4EBA FDF2 jsr [PC - 0x20E /* 00000ADA */]
label00000CEA:
00000CEA 4EAD 077A jsr [A5 + 0x77A /* export_235 */]
00000CEE 1D6D FF21 000C move.b [A6 + 0xC], [A5 - 0xDF]
00000CF4 4E5E unlink A6
00000CF6 2E9F move.l [A7], [A7]+
00000CF8 4E75 rts
fn00000CFA:
00000CFA 4E56 FFFC link A6, -0x0004
00000CFE 2D7C 0000 09DC FFFC move.l [A6 - 0x4], 0x9DC
00000D06 206E FFFC movea.l A0, [A6 - 0x4]
00000D0A 4250 clr.w [A0]
00000D0C 4E5E unlink A6
00000D0E 4E75 rts
fn00000D10:
00000D10 4E56 FFF8 link A6, -0x0008
00000D14 2F0C move.l -[A7], A4
00000D16 286D EE96 movea.l A4, [A5 - 0x116A]
00000D1A 1B6C 0A33 FF1F move.b [A5 - 0xE1], [A4 + 0xA33]
00000D20 102C 0A33 move.b D0, [A4 + 0xA33]
00000D24 6604 bne +0x6 /* 00000D2A */
00000D26 6000 0082 bra +0x84 /* 00000DAA */
label00000D2A:
00000D2A 422C 0A33 clr.b [A4 + 0xA33]
00000D2E 2B6C 001A FF1A move.l [A5 - 0xE6], [A4 + 0x1A]
00000D34 2F2C 001A move.l -[A7], [A4 + 0x1A]
00000D38 A873 syscall SetPort
00000D3A 206C 001A movea.l A0, [A4 + 0x1A]
00000D3E 43EE FFF8 lea.l A1, [A6 - 0x8]
00000D42 41E8 0010 lea.l A0, [A0 + 0x10]
00000D46 22D8 move.l [A1]+, [A0]+
00000D48 22D8 move.l [A1]+, [A0]+
00000D4A 486E FFF8 pea.l [A6 - 0x8]
00000D4E A870 syscall LocalToGlobal
00000D50 486E FFFC pea.l [A6 - 0x4]
00000D54 A870 syscall LocalToGlobal
00000D56 4EBA FFA2 jsr [PC - 0x5E /* 00000CFA */]
00000D5A 102C 000D move.b D0, [A4 + 0xD]
00000D5E 6724 beq +0x26 /* 00000D84 */
00000D60 42A7 clr.l -[A7]
00000D62 42A7 clr.l -[A7]
00000D64 486E FFF8 pea.l [A6 - 0x8]
00000D68 487A 0046 pea.l [PC + 0x46 /* 00000DB0, value 0x4E56 'NV', cstring "" */]
00000D6C 1F3C 0001 move.b -[A7], 0x1
00000D70 3F3C 0002 move.w -[A7], 0x2
00000D74 70FF moveq.l D0, 0xFFFFFFFF
00000D76 2F00 move.l -[A7], D0
00000D78 4267 clr.w -[A7]
00000D7A 42A7 clr.l -[A7]
00000D7C AA45 syscall NewCWindow
00000D7E 295F 001A move.l [A4 + 0x1A], [A7]+
00000D82 6022 bra +0x24 /* 00000DA6 */
label00000D84:
00000D84 42A7 clr.l -[A7]
00000D86 42A7 clr.l -[A7]
00000D88 486E FFF8 pea.l [A6 - 0x8]
00000D8C 487A 0022 pea.l [PC + 0x22 /* 00000DB0, value 0x4E56 'NV', cstring "" */]
00000D90 1F3C 0001 move.b -[A7], 0x1
00000D94 3F3C 0002 move.w -[A7], 0x2
00000D98 70FF moveq.l D0, 0xFFFFFFFF
00000D9A 2F00 move.l -[A7], D0
00000D9C 4267 clr.w -[A7]
00000D9E 42A7 clr.l -[A7]
00000DA0 A913 syscall NewWindow
00000DA2 295F 001A move.l [A4 + 0x1A], [A7]+
label00000DA6:
00000DA6 4EAD 0B2A jsr [A5 + 0xB2A /* export_353 */]
label00000DAA:
00000DAA 285F movea.l A4, [A7]+
00000DAC 4E5E unlink A6
00000DAE 4E75 rts
00000DB0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000DB2-00000DB8
fn00000DB2:
00000DB2 4E56 0000 link A6, 0
00000DB6 2F0C move.l -[A7], A4
// end alternate branch 00000DB2-00000DB8
fn00000DB2: // (misaligned)
00000DB4 0000 2F0C ori.b D0, 0xC
00000DB8 102D FF1F move.b D0, [A5 - 0xE1]
00000DBC 671E beq +0x20 /* 00000DDC */
00000DBE 286D EE96 movea.l A4, [A5 - 0x116A]
00000DC2 197C 0001 0A33 move.b [A4 + 0xA33], 0x1
00000DC8 4EBA FF30 jsr [PC - 0xD0 /* 00000CFA */]
00000DCC 2F2C 001A move.l -[A7], [A4 + 0x1A]
00000DD0 A914 syscall DisposeWindow
00000DD2 296D FF1A 001A move.l [A4 + 0x1A], [A5 - 0xE6]
00000DD8 4EAD 0B2A jsr [A5 + 0xB2A /* export_353 */]
label00000DDC:
00000DDC 285F movea.l A4, [A7]+
00000DDE 4E5E unlink A6
00000DE0 4E75 rts
fn00000DE2:
00000DE2 4E56 FFF4 link A6, -0x000C
00000DE6 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00000DEA 286D EE96 movea.l A4, [A5 - 0x116A]
00000DEE 206C 00E4 movea.l A0, [A4 + 0xE4]
00000DF2 1A28 074B move.b D5, [A0 + 0x74B]
00000DF6 206C 00E4 movea.l A0, [A4 + 0xE4]
00000DFA 117C 0001 074B move.b [A0 + 0x74B], 0x1
00000E00 486E FFFA pea.l [A6 - 0x6]
00000E04 A874 syscall GetPort
00000E06 4EBA FF08 jsr [PC - 0xF8 /* 00000D10 */]
00000E0A 2F2C 001A move.l -[A7], [A4 + 0x1A]
00000E0E A873 syscall SetPort
00000E10 4EAD 0A22 jsr [A5 + 0xA22 /* export_320 */]
label00000E14:
00000E14 102C 000F move.b D0, [A4 + 0xF]
00000E18 672C beq +0x2E /* 00000E46 */
00000E1A 102C 0734 move.b D0, [A4 + 0x734]
00000E1E 6704 beq +0x6 /* 00000E24 */
00000E20 7C00 moveq.l D6, 0x00
00000E22 6002 bra +0x4 /* 00000E26 */
label00000E24:
00000E24 7C05 moveq.l D6, 0x05
label00000E26:
00000E26 2F3C FFFF 0000 move.l -[A7], 0xFFFF0000
00000E2C 486D EE86 pea.l [A5 - 0x117A]
00000E30 2F06 move.l -[A7], D6
00000E32 42A7 clr.l -[A7]
00000E34 A860 syscall WaitNextEvent
00000E36 1E1F move.b D7, [A7]+
00000E38 1007 move.b D0, D7
00000E3A 6608 bne +0xA /* 00000E44 */
00000E3C 4A6D EE86 tst.w [A5 - 0x117A]
00000E40 6702 beq +0x4 /* 00000E44 */
00000E42 A9B4 syscall SystemTask
label00000E44:
00000E44 6010 bra +0x12 /* 00000E56 */
label00000E46:
00000E46 A9B4 syscall SystemTask
00000E48 2F3C FFFF 0000 move.l -[A7], 0xFFFF0000
00000E4E 486D EE86 pea.l [A5 - 0x117A]
00000E52 A970 syscall GetNextEvent
00000E54 1E1F move.b D7, [A7]+
label00000E56:
00000E56 102C 000D move.b D0, [A4 + 0xD]
00000E5A 6704 beq +0x6 /* 00000E60 */
00000E5C 4EAD 05E2 jsr [A5 + 0x5E2 /* export_184 */]
label00000E60:
00000E60 4A6D EE86 tst.w [A5 - 0x117A]
00000E64 57C0 seq D0
00000E66 2207 move.l D1, D7
00000E68 8200 or.b D1, D0
00000E6A 0241 0001 andi.w D1, 0x1
00000E6E 670C beq +0xE /* 00000E7C */
00000E70 4267 clr.w -[A7]
00000E72 486D EE86 pea.l [A5 - 0x117A]
00000E76 4EBA FD08 jsr [PC - 0x2F8 /* 00000B80 */]
00000E7A 1E1F move.b D7, [A7]+
label00000E7C:
00000E7C 102D EEE9 move.b D0, [A5 - 0x1117]
00000E80 6792 beq -0x6C /* 00000E14 */
00000E82 4EAD 059A jsr [A5 + 0x59A /* export_175 */]
00000E86 4EAD 073A jsr [A5 + 0x73A /* export_227 */]
00000E8A 4AAC 0710 tst.l [A4 + 0x710]
00000E8E 6710 beq +0x12 /* 00000EA0 */
00000E90 2F2C 0710 move.l -[A7], [A4 + 0x710]
00000E94 A93C syscall SetMenuBar
00000E96 A937 syscall DrawMenuBar
00000E98 486C 0710 pea.l [A4 + 0x710]
00000E9C 4EAD 0A6A jsr [A5 + 0xA6A /* export_329 */]
label00000EA0:
00000EA0 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000EA4 A873 syscall SetPort
00000EA6 4EBA FF0A jsr [PC - 0xF6 /* 00000DB2 */]
00000EAA 206C 00E4 movea.l A0, [A4 + 0xE4]
00000EAE 1145 074B move.b [A0 + 0x74B], D5
00000EB2 4EBA F72C jsr [PC - 0x8D4 /* 000005E0 */]
00000EB6 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00000EBA 4E5E unlink A6
00000EBC 4E75 rts
fn00000EBE:
00000EBE 41FA 129C lea.l A0, [PC + 0x129C /* 0000215C, value 0x11FE, cstring "" */]
00000EC2 2010 move.l D0, [A0]
00000EC4 4E75 rts
fn00000EC6:
00000EC6 48E7 FFF0 movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3
00000ECA 4247 clr.w D7
00000ECC 41FA 128E lea.l A0, [PC + 0x128E /* 0000215C, value 0x11FE, cstring "" */]
00000ED0 2218 move.l D1, [A0]+
00000ED2 6F00 00C0 ble +0xC2 /* 00000F94 */
00000ED6 2A18 move.l D5, [A0]+
00000ED8 6604 bne +0x6 /* 00000EDE */
00000EDA 2A0D move.l D5, A5
00000EDC 9A81 sub.l D5, D1
label00000EDE:
00000EDE 2645 movea.l A3, D5
00000EE0 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00000EE4 2F0B move.l -[A7], A3
00000EE6 2F01 move.l -[A7], D1
00000EE8 6100 00BE bsr +0xC0 /* 00000FA8 */
00000EEC 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00000EF0 3018 move.w D0, [A0]+
00000EF2 3E18 move.w D7, [A0]+
00000EF4 6000 009A bra +0x9C /* 00000F90 */
label00000EF8:
00000EF8 7800 moveq.l D4, 0x00
00000EFA 1818 move.b D4, [A0]+
00000EFC 2204 move.l D1, D4
00000EFE 0201 000F andi.b D1, 0xF
00000F02 0804 0004 btst.b D4, 0x4
00000F06 670E beq +0x10 /* 00000F16 */
00000F08 E141 asl D1.w, 8
00000F0A 1218 move.b D1, [A0]+
00000F0C 0881 000B bclr.b D1, 0xB
00000F10 6704 beq +0x6 /* 00000F16 */
00000F12 E181 asl D1, 8
00000F14 1218 move.b D1, [A0]+
label00000F16:
00000F16 7401 moveq.l D2, 0x01
00000F18 0804 0007 btst.b D4, 0x7
00000F1C 6716 beq +0x18 /* 00000F34 */
00000F1E 1418 move.b D2, [A0]+
00000F20 0882 0007 bclr.b D2, 0x7
00000F24 670E beq +0x10 /* 00000F34 */
00000F26 E142 asl D2.w, 8
00000F28 1418 move.b D2, [A0]+
00000F2A 0882 000E bclr.b D2, 0xE
00000F2E 6704 beq +0x6 /* 00000F34 */
00000F30 E182 asl D2, 8
00000F32 1418 move.b D2, [A0]+
label00000F34:
00000F34 7C02 moveq.l D6, 0x02
00000F36 4EBA 0062 jsr [PC + 0x62 /* 00000F9A */]
00000F3A 0885 000F bclr.b D5, 0xF
00000F3E 6704 beq +0x6 /* 00000F44 */
00000F40 E185 asl D5, 8
00000F42 1A18 move.b D5, [A0]+
label00000F44:
00000F44 43F3 5800 lea.l A1, [A3 + D5]
00000F48 2449 movea.l A2, A1
00000F4A 0804 0005 btst.b D4, 0x5
00000F4E 671A beq +0x1C /* 00000F6A */
00000F50 2C01 move.l D6, D1
00000F52 4EBA 0046 jsr [PC + 0x46 /* 00000F9A */]
00000F56 0C41 0002 cmpi.w D1, 0x2
00000F5A 6706 beq +0x8 /* 00000F62 */
00000F5C 6D08 blt +0xA /* 00000F66 */
00000F5E DB92 add.l [A2], D5
00000F60 6024 bra +0x26 /* 00000F86 */
label00000F62:
00000F62 DB52 add.w [A2], D5
00000F64 6020 bra +0x22 /* 00000F86 */
label00000F66:
00000F66 DB12 add.b [A2], D5
00000F68 601C bra +0x1E /* 00000F86 */
label00000F6A:
00000F6A 0C81 0000 0032 cmpi.l D1, 0x32 /* '2' */
00000F70 6510 bcs +0x12 /* 00000F82 */
00000F72 2F00 move.l -[A7], D0
00000F74 2001 move.l D0, D1
00000F76 A02E syscall BlockMove/BlockMoveData
00000F78 201F move.l D0, [A7]+
00000F7A D1C1 add.l A0, D1
00000F7C D3C1 add.l A1, D1
00000F7E 6006 bra +0x8 /* 00000F86 */
label00000F80:
00000F80 12D8 move.b [A1]+, [A0]+
label00000F82:
00000F82 51C9 FFFC dbf D1, -0x6 /* 00000F80 */
label00000F86:
00000F86 0804 0006 btst.b D4, 0x6
00000F8A 6704 beq +0x6 /* 00000F90 */
00000F8C 260D move.l D3, A5
00000F8E D792 add.l [A2], D3
label00000F90:
00000F90 51C8 FF66 dbf D0, -0x9C /* 00000EF8 */
label00000F94:
00000F94 4CDF 0FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3, [A7]+
00000F98 4E75 rts
fn00000F9A:
00000F9A 7A00 moveq.l D5, 0x00
00000F9C 6004 bra +0x6 /* 00000FA2 */
label00000F9E:
00000F9E E18D lsl D5, 8
00000FA0 1A18 move.b D5, [A0]+
label00000FA2:
00000FA2 51CE FFFA dbf D6, -0x8 /* 00000F9E */
00000FA6 4E75 rts
fn00000FA8:
00000FA8 7400 moveq.l D2, 0x00
00000FAA 205F movea.l A0, [A7]+
00000FAC 201F move.l D0, [A7]+
00000FAE 225F movea.l A1, [A7]+
00000FB0 6728 beq +0x2A /* 00000FDA */
label00000FB2:
00000FB2 3209 move.w D1, A1
00000FB4 0241 0003 andi.w D1, 0x3
00000FB8 6708 beq +0xA /* 00000FC2 */
00000FBA 12C2 move.b [A1]+, D2
00000FBC 5380 subq.l D0, 1
00000FBE 66F2 bne -0xC /* 00000FB2 */
00000FC0 6018 bra +0x1A /* 00000FDA */
label00000FC2:
00000FC2 2200 move.l D1, D0
00000FC4 E489 lsr D1, 2
00000FC6 6706 beq +0x8 /* 00000FCE */
label00000FC8:
00000FC8 22C2 move.l [A1]+, D2
00000FCA 5381 subq.l D1, 1
00000FCC 66FA bne -0x4 /* 00000FC8 */
label00000FCE:
00000FCE 0240 0003 andi.w D0, 0x3
00000FD2 6002 bra +0x4 /* 00000FD6 */
label00000FD4:
00000FD4 12C2 move.b [A1]+, D2
label00000FD6:
00000FD6 51C8 FFFC dbf D0, -0x6 /* 00000FD4 */
label00000FDA:
00000FDA 4ED0 jmp [A0]
fn00000FDC:
00000FDC 4EBA FEE0 jsr [PC - 0x120 /* 00000EBE */]
00000FE0 0680 0000 0020 addi.l D0, 0x20 /* ' ' */
00000FE6 4E75 rts
fn00000FE8:
00000FE8 2F0D move.l -[A7], A5
00000FEA 200D move.l D0, A5
00000FEC 0800 0000 btst.b D0, 0x0
00000FF0 660C bne +0xE /* 00000FFE */
00000FF2 206F 0008 movea.l A0, [A7 + 0x8]
00000FF6 7007 moveq.l D0, 0x07
label00000FF8:
00000FF8 20DD move.l [A0]+, [A5]+
00000FFA 51C8 FFFC dbf D0, -0x6 /* 00000FF8 */
label00000FFE:
00000FFE 2A6F 0008 movea.l A5, [A7 + 0x8]
00001002 4EBA FEC2 jsr [PC - 0x13E /* 00000EC6 */]
00001006 2A5F movea.l A5, [A7]+
00001008 4E75 rts
0000100A 200D move.l D0, A5
0000100C 2A6F 0004 movea.l A5, [A7 + 0x4]
00001010 4E75 rts
00001012 2A6F 0004 movea.l A5, [A7 + 0x4]
00001016 4E75 rts
00001018 202F 0004 move.l D0, [A7 + 0x4]
0000101C 222F 0008 move.l D1, [A7 + 0x8]
00001020 2F02 move.l -[A7], D2
00001022 2400 move.l D2, D0
00001024 C4C1 mulu.w D2, D1
00001026 2042 movea.l A0, D2
00001028 2401 move.l D2, D1
0000102A 4842 swap.w D2
0000102C C4C0 mulu.w D2, D0
0000102E 4840 swap.w D0
00001030 C2C0 mulu.w D1, D0
00001032 D441 add.w D2, D1
00001034 4842 swap.w D2
00001036 4242 clr.w D2
00001038 D1C2 add.l A0, D2
0000103A 2008 move.l D0, A0
0000103C 241F move.l D2, [A7]+
0000103E 4E75 rts
00001040 222F 0004 move.l D1, [A7 + 0x4]
00001044 202F 0008 move.l D0, [A7 + 0x8]
00001048 4EBA 000E jsr [PC + 0xE /* 00001058 */]
0000104C 2001 move.l D0, D1
0000104E 4E75 rts
00001050 222F 0004 move.l D1, [A7 + 0x4]
00001054 202F 0008 move.l D0, [A7 + 0x8]
fn00001058:
00001058 48E7 0600 movem.l -[A7], D5,D6
0000105C 2A00 move.l D5, D0
0000105E 6A02 bpl +0x4 /* 00001062 */
00001060 4480 neg.l D0
label00001062:
00001062 2C01 move.l D6, D1
00001064 6A02 bpl +0x4 /* 00001068 */
00001066 4481 neg.l D1
label00001068:
00001068 4EBA 001C jsr [PC + 0x1C /* 00001086 */]
0000106C 4A85 tst.l D5
0000106E 6A02 bpl +0x4 /* 00001072 */
00001070 4480 neg.l D0
label00001072:
00001072 BB86 xor.l D6, D5
00001074 6A02 bpl +0x4 /* 00001078 */
00001076 4481 neg.l D1
label00001078:
00001078 4CDF 0060 movem.l D5,D6, [A7]+
0000107C 4E75 rts
0000107E 222F 0004 move.l D1, [A7 + 0x4]
00001082 202F 0008 move.l D0, [A7 + 0x8]
fn00001086:
00001086 48E7 3800 movem.l -[A7], D2,D3,D4
0000108A 2401 move.l D2, D1
0000108C 4842 swap.w D2
0000108E 4A42 tst.w D2
00001090 661C bne +0x1E /* 000010AE */
00001092 3600 move.w D3, D0
00001094 4240 clr.w D0
00001096 4840 swap.w D0
00001098 6704 beq +0x6 /* 0000109E */
0000109A 80C1 divu.w D0, D1
0000109C 3400 move.w D2, D0
label0000109E:
0000109E 4842 swap.w D2
000010A0 3003 move.w D0, D3
000010A2 80C1 divu.w D0, D1
000010A4 3400 move.w D2, D0
000010A6 2202 move.l D1, D2
000010A8 4240 clr.w D0
000010AA 4840 swap.w D0
000010AC 6022 bra +0x24 /* 000010D0 */
label000010AE:
000010AE 2400 move.l D2, D0
000010B0 4240 clr.w D0
000010B2 4840 swap.w D0
000010B4 4842 swap.w D2
000010B6 4242 clr.w D2
000010B8 2601 move.l D3, D1
000010BA 7200 moveq.l D1, 0x00
000010BC 780F moveq.l D4, 0x0F
label000010BE:
000010BE D482 add.l D2, D2
000010C0 D180 addx.l D0, D0
000010C2 D281 add.l D1, D1
000010C4 B083 cmp.l D0, D3
000010C6 6D04 blt +0x6 /* 000010CC */
000010C8 9083 sub.l D0, D3
000010CA 5201 addq.b D1, 1
label000010CC:
000010CC 51CC FFF0 dbf D4, -0x12 /* 000010BE */
label000010D0:
000010D0 4CDF 001C movem.l D2,D3,D4, [A7]+
000010D4 4E75 rts
000010D6 225F movea.l A1, [A7]+
000010D8 201F move.l D0, [A7]+
000010DA A04C syscall CompactMem
000010DC 2E80 move.l [A7], D0
000010DE 4E71 nop
label000010E0:
000010E0 7000 moveq.l D0, 0x00
label000010E2:
000010E2 2F09 move.l -[A7], A1
label000010E4:
000010E4 31C0 0220 move.w [0x00000220 /* MemErr */], D0
000010E8 4E75 rts
label000010EA:
000010EA 7000 moveq.l D0, 0x00
000010EC 60F6 bra -0x8 /* 000010E4 */
000010EE A01C syscall FreeMem
000010F0 2F40 0004 move.l [A7 + 0x4], D0
000010F4 4EFA FFF4 jmp [PC - 0xC /* 000010EA */]
label000010F8:
000010F8 225F movea.l A1, [A7]+
000010FA 205F movea.l A0, [A7]+
000010FC A064 syscall MoveHHi
000010FE 4ED1 jmp [A1]
fn00001100:
00001100 4A78 028E tst.w [0x0000028E /* ROM85 */]
00001104 6AF2 bpl -0xC /* 000010F8 */
00001106 226F 0004 movea.l A1, [A7 + 0x4]
0000110A 48E7 1F3E movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5,A6
0000110E 2009 move.l D0, A1
00001110 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00001114 670C beq +0xE /* 00001122 */
00001116 2240 movea.l A1, D0
00001118 2011 move.l D0, [A1]
0000111A C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000111E 2040 movea.l A0, D0
00001120 6606 bne +0x8 /* 00001128 */
label00001122:
00001122 7093 moveq.l D0, 0xFFFFFF93
label00001124:
00001124 6000 0162 bra +0x164 /* 00001288 */
label00001128:
00001128 2849 movea.l A4, A1
0000112A 4A14 tst.b [A4]
0000112C 6A04 bpl +0x6 /* 00001132 */
0000112E 708B moveq.l D0, 0xFFFFFF8B
00001130 60F2 bra -0xC /* 00001124 */
label00001132:
00001132 2C49 movea.l A6, A1
00001134 2028 FFFC move.l D0, [A0 - 0x4]
00001138 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000113C 9DC0 sub.l A6, D0
0000113E 2656 movea.l A3, [A6]
00001140 5188 subq.l A0, 8
00001142 2210 move.l D1, [A0]
00001144 C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00001148 2E01 move.l D7, D1
0000114A 5187 subq.l D7, 8
0000114C 7000 moveq.l D0, 0x00
0000114E D1C1 add.l A0, D1
00001150 B1CB cmpa.l A0, A3
00001152 6400 0134 bcc +0x136 /* 00001288 */
00001156 4A10 tst.b [A0]
00001158 6710 beq +0x12 /* 0000116A */
0000115A 6A00 012C bpl +0x12E /* 00001288 */
0000115E 2068 0004 movea.l A0, [A0 + 0x4]
00001162 D1CE add.l A0, A6
00001164 4A10 tst.b [A0]
00001166 6B00 0120 bmi +0x122 /* 00001288 */
label0000116A:
0000116A 220F move.l D1, A7
0000116C C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00001170 2078 02AA movea.l A0, [0x000002AA /* ApplZone */]
00001174 9290 sub.l D1, [A0]
00001176 243C 0000 0400 move.l D2, 0x400
0000117C 2002 move.l D0, D2
0000117E D087 add.l D0, D7
00001180 B280 cmp.l D1, D0
00001182 6D02 blt +0x4 /* 00001186 */
00001184 2200 move.l D1, D0
label00001186:
00001186 70FF moveq.l D0, 0xFFFFFFFF
00001188 B282 cmp.l D1, D2
0000118A 6D00 00FC blt +0xFE /* 00001288 */
0000118E 0482 0000 0080 subi.l D2, 0x80
00001194 9282 sub.l D1, D2
00001196 9FC1 sub.l A7, D1
00001198 9EFC 0016 sub.w A7, 0x16
0000119C 2A4F movea.l A5, A7
0000119E 2B41 0008 move.l [A5 + 0x8], D1
000011A2 2B78 0118 0012 move.l [A5 + 0x12], [0x00000118 /* TheZone */]
000011A8 21CE 0118 move.l [0x00000118 /* TheZone */], A6
000011AC 2054 movea.l A0, [A4]
000011AE 5148 subq.w A0, 8
000011B0 2A90 move.l [A5], [A0]
000011B2 2014 move.l D0, [A4]
000011B4 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000011B8 2B40 000C move.l [A5 + 0xC], D0
000011BC 1B54 0010 move.b [A5 + 0x10], [A4]
000011C0 6100 00D2 bsr +0xD4 /* 00001294 */
000011C4 4A12 tst.b [A2]
000011C6 662A bne +0x2C /* 000011F2 */
000011C8 2212 move.l D1, [A2]
000011CA 2001 move.l D0, D1
000011CC 5180 subq.l D0, 8
000011CE BE80 cmp.l D7, D0
000011D0 6220 bhi +0x22 /* 000011F2 */
000011D2 9087 sub.l D0, D7
000011D4 6706 beq +0x8 /* 000011DC */
000011D6 740C moveq.l D2, 0x0C
000011D8 B082 cmp.l D0, D2
000011DA 6516 bcs +0x18 /* 000011F2 */
label000011DC:
000011DC 2054 movea.l A0, [A4]
000011DE 224A movea.l A1, A2
000011E0 D3C1 add.l A1, D1
label000011E2:
000011E2 2007 move.l D0, D7
000011E4 93C0 sub.l A1, D0
000011E6 91AE 000C sub.l [A6 + 0xC], D0
000011EA A02E syscall BlockMove/BlockMoveData
000011EC 204C movea.l A0, A4
000011EE A02B syscall EmptyHandle
000011F0 6068 bra +0x6A /* 0000125A */
label000011F2:
000011F2 7C00 moveq.l D6, 0x00
000011F4 6100 00D8 bsr +0xDA /* 000012CE */
000011F8 6100 0112 bsr +0x114 /* 0000130C */
000011FC 6100 0096 bsr +0x98 /* 00001294 */
label00001200:
00001200 2212 move.l D1, [A2]
00001202 202D 0004 move.l D0, [A5 + 0x4]
00001206 41ED 0016 lea.l A0, [A5 + 0x16]
0000120A 224A movea.l A1, A2
0000120C D3C1 add.l A1, D1
0000120E 93C0 sub.l A1, D0
00001210 DC80 add.l D6, D0
00001212 91AE 000C sub.l [A6 + 0xC], D0
00001216 A02E syscall BlockMove/BlockMoveData
00001218 4A87 tst.l D7
0000121A 673E beq +0x40 /* 0000125A */
0000121C 2009 move.l D0, A1
0000121E 908A sub.l D0, A2
00001220 6716 beq +0x18 /* 00001238 */
00001222 2200 move.l D1, D0
00001224 5181 subq.l D1, 8
00001226 9287 sub.l D1, D7
00001228 650C bcs +0xE /* 00001236 */
0000122A 6706 beq +0x8 /* 00001232 */
0000122C 740C moveq.l D2, 0x0C
0000122E B481 cmp.l D2, D1
00001230 6504 bcs +0x6 /* 00001236 */
label00001232:
00001232 2054 movea.l A0, [A4]
00001234 60AC bra -0x52 /* 000011E2 */
label00001236:
00001236 2480 move.l [A2], D0
label00001238:
00001238 4CD1 0030 movem.l D4,D5, [A1]
0000123C 234E 0004 move.l [A1 + 0x4], A6
00001240 2286 move.l [A1], D6
00001242 12BC 0040 move.b [A1], 0x40 /* '@' */
00001246 2F09 move.l -[A7], A1
00001248 6100 0084 bsr +0x86 /* 000012CE */
0000124C 6100 00BE bsr +0xC0 /* 0000130C */
00001250 6142 bsr +0x44 /* 00001294 */
00001252 225F movea.l A1, [A7]+
00001254 48D1 0030 movem.l [A1], D4,D5
00001258 60A6 bra -0x58 /* 00001200 */
label0000125A:
0000125A 5189 subq.l A1, 8
0000125C 51AE 000C subq.l [A6 + 0xC], 8
00001260 2009 move.l D0, A1
00001262 908A sub.l D0, A2
00001264 6702 beq +0x4 /* 00001268 */
00001266 2480 move.l [A2], D0
label00001268:
00001268 2449 movea.l A2, A1
0000126A 24D5 move.l [A2]+, [A5]
0000126C 204C movea.l A0, A4
0000126E 91CE sub.l A0, A6
00001270 24C8 move.l [A2]+, A0
00001272 288A move.l [A4], A2
00001274 18AD 0010 move.b [A4], [A5 + 0x10]
00001278 21ED 0012 0118 move.l [0x00000118 /* TheZone */], [A5 + 0x12]
0000127E 7000 moveq.l D0, 0x00
00001280 DFED 0008 add.l A7, [A5 + 0x8]
00001284 DEFC 0016 add.w A7, 0x16
label00001288:
00001288 4CDF 7CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5,A6, [A7]+
0000128C 2E9F move.l [A7], [A7]+
0000128E 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00001292 4E75 rts
fn00001294:
00001294 2014 move.l D0, [A4]
00001296 670A beq +0xC /* 000012A2 */
00001298 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000129C 2040 movea.l A0, D0
0000129E 5148 subq.w A0, 8
000012A0 6004 bra +0x6 /* 000012A6 */
label000012A2:
000012A2 41EE 0034 lea.l A0, [A6 + 0x34]
label000012A6:
000012A6 2210 move.l D1, [A0]
000012A8 C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000012AC 4A10 tst.b [A0]
000012AE 670C beq +0xE /* 000012BC */
000012B0 6A14 bpl +0x16 /* 000012C6 */
000012B2 2268 0004 movea.l A1, [A0 + 0x4]
000012B6 D3CE add.l A1, A6
000012B8 4A11 tst.b [A1]
000012BA 6B0A bmi +0xC /* 000012C6 */
label000012BC:
000012BC 2448 movea.l A2, A0
000012BE D1C1 add.l A0, D1
000012C0 B1CB cmpa.l A0, A3
000012C2 65E2 bcs -0x1C /* 000012A6 */
000012C4 6006 bra +0x8 /* 000012CC */
label000012C6:
000012C6 B1ED 000C cmpa.l A0, [A5 + 0xC]
000012CA 63F0 bls -0xE /* 000012BC */
label000012CC:
000012CC 4E75 rts
fn000012CE:
000012CE 202D 0008 move.l D0, [A5 + 0x8]
000012D2 B087 cmp.l D0, D7
000012D4 6D02 blt +0x4 /* 000012D8 */
000012D6 2007 move.l D0, D7
label000012D8:
000012D8 43ED 0016 lea.l A1, [A5 + 0x16]
000012DC 2054 movea.l A0, [A4]
000012DE D1C7 add.l A0, D7
000012E0 91C0 sub.l A0, D0
000012E2 9E80 sub.l D7, D0
000012E4 2B40 0004 move.l [A5 + 0x4], D0
000012E8 2200 move.l D1, D0
000012EA A02E syscall BlockMove/BlockMoveData
000012EC 204C movea.l A0, A4
000012EE 2007 move.l D0, D7
000012F0 6604 bne +0x6 /* 000012F6 */
000012F2 A02B syscall EmptyHandle
000012F4 4E75 rts
label000012F6:
000012F6 2050 movea.l A0, [A0]
000012F8 5148 subq.w A0, 8
000012FA 1410 move.b D2, [A0]
000012FC 5080 addq.l D0, 8
000012FE 2080 move.l [A0], D0
00001300 1082 move.b [A0], D2
00001302 D1C0 add.l A0, D0
00001304 2081 move.l [A0], D1
00001306 D3AE 000C add.l [A6 + 0xC], D1
0000130A 4E75 rts
fn0000130C:
0000130C 203C 0080 0000 move.l D0, 0x800000
00001312 A04C syscall CompactMem
00001314 4E75 rts
00001316 225F movea.l A1, [A7]+
00001318 201F move.l D0, [A7]+
0000131A A11E syscall NewPtr, flags=1
0000131C 2E88 move.l [A7], A0
0000131E 4EFA FDC2 jmp [PC - 0x23E /* 000010E2 */]
00001322 225F movea.l A1, [A7]+
00001324 205F movea.l A0, [A7]+
00001326 A01F syscall DisposPtr/DisposePtr
00001328 4EFA FDB8 jmp [PC - 0x248 /* 000010E2 */]
0000132C 225F movea.l A1, [A7]+
0000132E 201F move.l D0, [A7]+
00001330 205F movea.l A0, [A7]+
00001332 A020 syscall SetPtrSize
00001334 4EFA FDAC jmp [PC - 0x254 /* 000010E2 */]
fn00001338:
00001338 225F movea.l A1, [A7]+
0000133A 201F move.l D0, [A7]+
0000133C A122 syscall NewHandle, flags=1
0000133E 2E88 move.l [A7], A0
00001340 4EFA FDA0 jmp [PC - 0x260 /* 000010E2 */]
fn00001344:
00001344 225F movea.l A1, [A7]+
00001346 205F movea.l A0, [A7]+
00001348 A023 syscall DisposHandle/DisposeHandle
0000134A 4EFA FD96 jmp [PC - 0x26A /* 000010E2 */]
0000134E 225F movea.l A1, [A7]+
00001350 205F movea.l A0, [A7]+
00001352 A025 syscall GetHandleSize
00001354 2E80 move.l [A7], D0
00001356 6A06 bpl +0x8 /* 0000135E */
00001358 4297 clr.l [A7]
0000135A 4EFA FD86 jmp [PC - 0x27A /* 000010E2 */]
label0000135E:
0000135E 4EFA FD80 jmp [PC - 0x280 /* 000010E0 */]
00001362 225F movea.l A1, [A7]+
00001364 201F move.l D0, [A7]+
00001366 205F movea.l A0, [A7]+
00001368 A024 syscall SetHandleSize
0000136A 4EFA FD76 jmp [PC - 0x28A /* 000010E2 */]
fn0000136E:
0000136E 225F movea.l A1, [A7]+
00001370 205F movea.l A0, [A7]+
00001372 A029 syscall HLock
00001374 4EFA FD6C jmp [PC - 0x294 /* 000010E2 */]
00001378 225F movea.l A1, [A7]+
0000137A 205F movea.l A0, [A7]+
0000137C A02A syscall HUnlock
0000137E 4EFA FD62 jmp [PC - 0x29E /* 000010E2 */]
00001382 225F movea.l A1, [A7]+
00001384 205F movea.l A0, [A7]+
00001386 A049 syscall HPurge
00001388 4EFA FD58 jmp [PC - 0x2A8 /* 000010E2 */]
0000138C 225F movea.l A1, [A7]+
0000138E 205F movea.l A0, [A7]+
00001390 A04A syscall HNoPurge
00001392 4EFA FD4E jmp [PC - 0x2B2 /* 000010E2 */]
fn00001396:
00001396 221F move.l D1, [A7]+
00001398 201F move.l D0, [A7]+
0000139A 225F movea.l A1, [A7]+
0000139C 205F movea.l A0, [A7]+
0000139E A02E syscall BlockMove/BlockMoveData
000013A0 2241 movea.l A1, D1
000013A2 4EFA FD3E jmp [PC - 0x2C2 /* 000010E2 */]
000013A6 225F movea.l A1, [A7]+
000013A8 301F move.w D0, [A7]+
000013AA A146 syscall GetTrapAddress, flags=1
000013AC 2E88 move.l [A7], A0
000013AE 4ED1 jmp [A1]
fn000013B0:
000013B0 225F movea.l A1, [A7]+
000013B2 121F move.b D1, [A7]+
000013B4 301F move.w D0, [A7]+
000013B6 2F09 move.l -[A7], A1
000013B8 4A01 tst.b D1
000013BA 6704 beq +0x6 /* 000013C0 */
000013BC A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000013BE 6002 bra +0x4 /* 000013C2 */
label000013C0:
000013C0 A346 syscall GetOSTrapAddress, flags=3
label000013C2:
000013C2 2F48 0004 move.l [A7 + 0x4], A0
000013C6 4E75 rts
000013C8 225F movea.l A1, [A7]+
000013CA 121F move.b D1, [A7]+
000013CC 301F move.w D0, [A7]+
000013CE 205F movea.l A0, [A7]+
000013D0 2F09 move.l -[A7], A1
000013D2 4A01 tst.b D1
000013D4 6704 beq +0x6 /* 000013DA */
000013D6 A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
000013D8 6002 bra +0x4 /* 000013DC */
label000013DA:
000013DA A247 syscall SetOSTrapAddress, flags=2
label000013DC:
000013DC 4E75 rts
000013DE 225F movea.l A1, [A7]+
000013E0 205F movea.l A0, [A7]+
000013E2 20B8 020C move.l [A0], [0x0000020C /* Time */]
000013E6 4ED1 jmp [A1]
000013E8 225F movea.l A1, [A7]+
000013EA 121F move.b D1, [A7]+
000013EC 205F movea.l A0, [A7]+
000013EE 7000 moveq.l D0, 0x00
000013F0 1018 move.b D0, [A0]+
000013F2 2F09 move.l -[A7], A1
000013F4 4A01 tst.b D1
000013F6 6704 beq +0x6 /* 000013FC */
000013F8 A054 syscall UprString/UprText
000013FA 6002 bra +0x4 /* 000013FE */
label000013FC:
000013FC A254 syscall UprString/UprText, flags=2
label000013FE:
000013FE 4E75 rts
00001400 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00001404 D0FC 000A add.w A0, 0xA /* '\n' */
00001408 4ED0 jmp [A0]
0000140A 225F movea.l A1, [A7]+
0000140C 101F move.b D0, [A7]+
0000140E 205F movea.l A0, [A7]+
00001410 6604 bne +0x6 /* 00001416 */
00001412 A000 syscall Open/PBHOpen/HOpen
00001414 6002 bra +0x4 /* 00001418 */
label00001416:
00001416 A400 syscall Open/PBHOpen/HOpen, flags=4
label00001418:
00001418 3E80 move.w [A7], D0
0000141A 4ED1 jmp [A1]
0000141C 225F movea.l A1, [A7]+
0000141E 101F move.b D0, [A7]+
00001420 205F movea.l A0, [A7]+
00001422 6604 bne +0x6 /* 00001428 */
00001424 A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
00001426 6002 bra +0x4 /* 0000142A */
label00001428:
00001428 A407 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
label0000142A:
0000142A 3E80 move.w [A7], D0
0000142C 4ED1 jmp [A1]
0000142E 225F movea.l A1, [A7]+
00001430 101F move.b D0, [A7]+
00001432 205F movea.l A0, [A7]+
00001434 6604 bne +0x6 /* 0000143A */
00001436 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00001438 6002 bra +0x4 /* 0000143C */
label0000143A:
0000143A A40C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
label0000143C:
0000143C 3E80 move.w [A7], D0
0000143E 4ED1 jmp [A1]
00001440 225F movea.l A1, [A7]+
00001442 101F move.b D0, [A7]+
00001444 205F movea.l A0, [A7]+
00001446 6604 bne +0x6 /* 0000144C */
00001448 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
0000144A 6002 bra +0x4 /* 0000144E */
label0000144C:
0000144C A40D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=4
label0000144E:
0000144E 3E80 move.w [A7], D0
00001450 4ED1 jmp [A1]
00001452 4E56 FFCE link A6, -0x0032
00001456 41EE FFCE lea.l A0, [A6 - 0x32]
0000145A 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00001460 A001 syscall Close
00001462 3D40 000A move.w [A6 + 0xA], D0
00001466 4E5E unlink A6
00001468 205F movea.l A0, [A7]+
0000146A 548F addq.l A7, 2
0000146C 4ED0 jmp [A0]
0000146E 51C1 sf D1
00001470 6002 bra +0x4 /* 00001474 */
00001472 50C1 st D1
label00001474:
00001474 4E56 FFCE link A6, -0x0032
00001478 41EE FFCE lea.l A0, [A6 - 0x32]
0000147C 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00001482 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00001488 226E 000C movea.l A1, [A6 + 0xC]
0000148C 2151 0024 move.l [A0 + 0x24], [A1]
00001490 4268 002C clr.w [A0 + 0x2C]
00001494 42A8 002E clr.l [A0 + 0x2E]
00001498 4A01 tst.b D1
0000149A 6604 bne +0x6 /* 000014A0 */
0000149C A002 syscall Read
0000149E 6002 bra +0x4 /* 000014A2 */
label000014A0:
000014A0 A003 syscall Write
label000014A2:
000014A2 3D40 0012 move.w [A6 + 0x12], D0
000014A6 226E 000C movea.l A1, [A6 + 0xC]
000014AA 22A8 0028 move.l [A1], [A0 + 0x28]
000014AE 4E5E unlink A6
000014B0 225F movea.l A1, [A7]+
000014B2 DEFC 000A add.w A7, 0xA /* '\n' */
000014B6 4ED1 jmp [A1]
000014B8 4E56 FFB0 link A6, -0x0050
000014BC 41EE FFB0 lea.l A0, [A6 - 0x50]
000014C0 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000014C6 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000014CC 4228 001A clr.b [A0 + 0x1A]
000014D0 4268 001C clr.w [A0 + 0x1C]
000014D4 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000014D6 3D40 0012 move.w [A6 + 0x12], D0
000014DA 41E8 0020 lea.l A0, [A0 + 0x20]
000014DE 226E 0008 movea.l A1, [A6 + 0x8]
000014E2 7010 moveq.l D0, 0x10
000014E4 A02E syscall BlockMove/BlockMoveData
000014E6 4E5E unlink A6
000014E8 225F movea.l A1, [A7]+
000014EA DEFC 000A add.w A7, 0xA /* '\n' */
000014EE 4ED1 jmp [A1]
000014F0 4E56 FFC0 link A6, -0x0040
000014F4 41EE FFC0 lea.l A0, [A6 - 0x40]
000014F8 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
000014FE A014 syscall GetVol/PBHGetVol/HGetVol
00001500 3D40 0010 move.w [A6 + 0x10], D0
00001504 226E 0008 movea.l A1, [A6 + 0x8]
00001508 32A8 0016 move.w [A1], [A0 + 0x16]
0000150C 4E5E unlink A6
0000150E 225F movea.l A1, [A7]+
00001510 508F addq.l A7, 8
00001512 4ED1 jmp [A1]
00001514 4E56 FFC0 link A6, -0x0040
00001518 41EE FFC0 lea.l A0, [A6 - 0x40]
0000151C 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00001522 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00001528 A015 syscall SetVol/PBHSetVol/HSetVol
0000152A 3D40 000E move.w [A6 + 0xE], D0
0000152E 4E5E unlink A6
00001530 225F movea.l A1, [A7]+
00001532 5C8F addq.l A7, 6
00001534 4ED1 jmp [A1]
00001536 4E56 FFC0 link A6, -0x0040
0000153A 41EE FFC0 lea.l A0, [A6 - 0x40]
0000153E 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00001544 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
0000154A A017 syscall Eject
0000154C 3D40 000E move.w [A6 + 0xE], D0
00001550 4E5E unlink A6
00001552 225F movea.l A1, [A7]+
00001554 5C8F addq.l A7, 6
00001556 4ED1 jmp [A1]
00001558 4E56 FFC0 link A6, -0x0040
0000155C 41EE FFC0 lea.l A0, [A6 - 0x40]
00001560 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00001566 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
0000156C A013 syscall FlushVol
0000156E 3D40 000E move.w [A6 + 0xE], D0
00001572 4E5E unlink A6
00001574 225F movea.l A1, [A7]+
00001576 5C8F addq.l A7, 6
00001578 4ED1 jmp [A1]
0000157A 4E56 FFB0 link A6, -0x0050
0000157E 41EE FFB0 lea.l A0, [A6 - 0x50]
00001582 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
00001588 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
0000158E 4228 001A clr.b [A0 + 0x1A]
00001592 A008 syscall Create/PBHCreate/HCreate
00001594 4A40 tst.w D0
00001596 6614 bne +0x16 /* 000015AC */
00001598 4268 001C clr.w [A0 + 0x1C]
0000159C A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
0000159E 43E8 0020 lea.l A1, [A0 + 0x20]
000015A2 22EE 0008 move.l [A1]+, [A6 + 0x8]
000015A6 22AE 000C move.l [A1], [A6 + 0xC]
000015AA A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000015AC:
000015AC 3D40 0016 move.w [A6 + 0x16], D0
000015B0 4E5E unlink A6
000015B2 225F movea.l A1, [A7]+
000015B4 DEFC 000E add.w A7, 0xE
000015B8 4ED1 jmp [A1]
000015BA 4E56 FFCE link A6, -0x0032
000015BE 41EE FFCE lea.l A0, [A6 - 0x32]
000015C2 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000015C8 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000015CE 4228 001A clr.b [A0 + 0x1A]
000015D2 A009 syscall Delete/PBHDelete/HDelete
000015D4 3D40 000E move.w [A6 + 0xE], D0
000015D8 4E5E unlink A6
000015DA 225F movea.l A1, [A7]+
000015DC 5C8F addq.l A7, 6
000015DE 4ED1 jmp [A1]
000015E0 4E56 FFCE link A6, -0x0032
000015E4 41EE FFCE lea.l A0, [A6 - 0x32]
000015E8 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
000015EE 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
000015F4 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
000015FA A044 syscall SetFPos
000015FC 3D40 0010 move.w [A6 + 0x10], D0
00001600 4E5E unlink A6
00001602 225F movea.l A1, [A7]+
00001604 508F addq.l A7, 8
00001606 4ED1 jmp [A1]
00001608 225F movea.l A1, [A7]+
0000160A 101F move.b D0, [A7]+
0000160C 205F movea.l A0, [A7]+
0000160E 6606 bne +0x8 /* 00001616 */
00001610 7001 moveq.l D0, 0x01
00001612 A260 syscall FSDispatch/HFSDispatch, flags=2
00001614 6004 bra +0x6 /* 0000161A */
label00001616:
00001616 7001 moveq.l D0, 0x01
00001618 A660 syscall FSDispatch/HFSDispatch, flags=6
label0000161A:
0000161A 3E80 move.w [A7], D0
0000161C 4ED1 jmp [A1]
0000161E 206F 0006 movea.l A0, [A7 + 0x6]
00001622 4228 001A clr.b [A0 + 0x1A]
00001626 225F movea.l A1, [A7]+
00001628 101F move.b D0, [A7]+
0000162A 205F movea.l A0, [A7]+
0000162C 6606 bne +0x8 /* 00001634 */
0000162E 7009 moveq.l D0, 0x09
00001630 A260 syscall FSDispatch/HFSDispatch, flags=2
00001632 6004 bra +0x6 /* 00001638 */
label00001634:
00001634 7009 moveq.l D0, 0x09
00001636 A660 syscall FSDispatch/HFSDispatch, flags=6
label00001638:
00001638 3E80 move.w [A7], D0
0000163A 4ED1 jmp [A1]
0000163C 225F movea.l A1, [A7]+
0000163E 101F move.b D0, [A7]+
00001640 205F movea.l A0, [A7]+
00001642 6604 bne +0x6 /* 00001648 */
00001644 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00001646 6002 bra +0x4 /* 0000164A */
label00001648:
00001648 A607 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
label0000164A:
0000164A 3E80 move.w [A7], D0
0000164C 4ED1 jmp [A1]
fn0000164E:
0000164E 225F movea.l A1, [A7]+
00001650 201F move.l D0, [A7]+
00001652 305F movea.w A0, [A7]+
00001654 A02F syscall PostEvent/PPostEvent
00001656 3E80 move.w [A7], D0
00001658 4ED1 jmp [A1]
0000165A 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000165E 6B24 bmi +0x26 /* 00001684 */
00001660 205F movea.l A0, [A7]+
00001662 301F move.w D0, [A7]+
00001664 2F08 move.l -[A7], A0
00001666 4E56 FFE0 link A6, -0x0020
0000166A 41EE FFE0 lea.l A0, [A6 - 0x20]
0000166E 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
00001674 317C 0002 001A move.w [A0 + 0x1A], 0x2
0000167A 3140 001C move.w [A0 + 0x1C], D0
0000167E A204 syscall Control, flags=2
00001680 4E5E unlink A6
00001682 4E75 rts
label00001684:
00001684 205F movea.l A0, [A7]+
00001686 301F move.w D0, [A7]+
00001688 2F08 move.l -[A7], A0
0000168A 0C39 00FF 0040 0009 cmpi.b [0x00400009], 0xFF
00001692 6724 beq +0x26 /* 000016B8 */
00001694 40E7 move.w -[A7], SR
00001696 007C 0300 ori.w sr, 768
0000169A 1239 00EF FFFE move.b D1, [0x00EFFFFE]
000016A0 0241 00F8 andi.w D1, 0xF8
000016A4 0240 0007 andi.w D0, 0x7
000016A8 11C0 0260 move.b [0x00000260 /* SdVolume */], D0
000016AC 8240 or.w D1, D0
000016AE 13C1 00EF FFFE move.b [0x00EFFFFE], D1
000016B4 46DF move.w SR, [A7]+
000016B6 4E75 rts
label000016B8:
000016B8 0240 0007 andi.w D0, 0x7
000016BC 11C0 0260 move.b [0x00000260 /* SdVolume */], D0
000016C0 E348 lsl D0.w, 1
000016C2 1239 00FC DD81 move.b D1, [0x00FCDD81]
000016C8 0201 00F1 andi.b D1, 0xF1
000016CC 8200 or.b D1, D0
000016CE 13C1 00FC DD81 move.b [0x00FCDD81], D1
000016D4 4E75 rts
000016D6 205F movea.l A0, [A7]+
000016D8 225F movea.l A1, [A7]+
000016DA 4219 clr.b [A1]+
000016DC 12B8 0260 move.b [A1], [0x00000260 /* SdVolume */]
000016E0 4ED0 jmp [A0]
000016E2 A061 syscall MaxBlock
000016E4 2F40 0004 move.l [A7 + 0x4], D0
000016E8 4E75 rts
000016EA 225F movea.l A1, [A7]+
000016EC 205F movea.l A0, [A7]+
000016EE A069 syscall HGetState
000016F0 1E80 move.b [A7], D0
000016F2 4ED1 jmp [A1]
000016F4 225F movea.l A1, [A7]+
000016F6 101F move.b D0, [A7]+
000016F8 205F movea.l A0, [A7]+
000016FA A06A syscall HSetState
000016FC 4ED1 jmp [A1]
000016FE 206F 0004 movea.l A0, [A7 + 0x4]
00001702 2050 movea.l A0, [A0]
00001704 A9E1 syscall HandToHand
00001706 226F 0004 movea.l A1, [A7 + 0x4]
0000170A 2288 move.l [A1], A0
0000170C 3F40 0008 move.w [A7 + 0x8], D0
00001710 2E9F move.l [A7], [A7]+
00001712 4E75 rts
00001714 221F move.l D1, [A7]+
00001716 201F move.l D0, [A7]+
00001718 225F movea.l A1, [A7]+
0000171A 205F movea.l A0, [A7]+
0000171C 2F01 move.l -[A7], D1
0000171E A9E2 syscall PtrToXHand
00001720 3F40 0004 move.w [A7 + 0x4], D0
00001724 4E75 rts
00001726 206F 000C movea.l A0, [A7 + 0xC]
0000172A 202F 0004 move.l D0, [A7 + 0x4]
0000172E A9E3 syscall PtrToHand
00001730 3F40 0010 move.w [A7 + 0x10], D0
00001734 226F 0008 movea.l A1, [A7 + 0x8]
00001738 2288 move.l [A1], A0
0000173A 205F movea.l A0, [A7]+
0000173C DEFC 000C add.w A7, 0xC
00001740 4ED0 jmp [A0]
00001742 4E56 0000 link A6, 0
00001746 594F subq.w A7, 4
00001748 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
0000174E 3F2E 000A move.w -[A7], [A6 + 0xA]
00001752 A9A0 syscall GetResource
00001754 226E 000C movea.l A1, [A6 + 0xC]
00001758 4211 clr.b [A1]
0000175A 201F move.l D0, [A7]+
0000175C 6720 beq +0x22 /* 0000177E */
0000175E 2040 movea.l A0, D0
00001760 2050 movea.l A0, [A0]
00001762 3018 move.w D0, [A0]+
00001764 322E 0008 move.w D1, [A6 + 0x8]
00001768 B240 cmp.w D1, D0
0000176A 6E12 bgt +0x14 /* 0000177E */
0000176C 7000 moveq.l D0, 0x00
label0000176E:
0000176E 5341 subq.w D1, 1
00001770 6706 beq +0x8 /* 00001778 */
00001772 1018 move.b D0, [A0]+
00001774 D1C0 add.l A0, D0
00001776 60F6 bra -0x8 /* 0000176E */
label00001778:
00001778 1010 move.b D0, [A0]
0000177A 5240 addq.w D0, 1
0000177C A02E syscall BlockMove/BlockMoveData
label0000177E:
0000177E 4E5E unlink A6
00001780 205F movea.l A0, [A7]+
00001782 508F addq.l A7, 8
00001784 4ED0 jmp [A0]
00001786 4E56 0000 link A6, 0
0000178A 594F subq.w A7, 4
0000178C 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
00001792 3F2E 000A move.w -[A7], [A6 + 0xA]
00001796 A9A0 syscall GetResource
00001798 226E 000C movea.l A1, [A6 + 0xC]
0000179C 201F move.l D0, [A7]+
0000179E 671C beq +0x1E /* 000017BC */
000017A0 2040 movea.l A0, D0
000017A2 2050 movea.l A0, [A0]
000017A4 3018 move.w D0, [A0]+
000017A6 322E 0008 move.w D1, [A6 + 0x8]
000017AA 6F10 ble +0x12 /* 000017BC */
000017AC B240 cmp.w D1, D0
000017AE 6E0C bgt +0xE /* 000017BC */
label000017B0:
000017B0 5341 subq.w D1, 1
000017B2 6704 beq +0x6 /* 000017B8 */
000017B4 5048 addq.w A0, 8
000017B6 60F8 bra -0x6 /* 000017B0 */
label000017B8:
000017B8 7008 moveq.l D0, 0x08
000017BA A02E syscall BlockMove/BlockMoveData
label000017BC:
000017BC 4E5E unlink A6
000017BE 205F movea.l A0, [A7]+
000017C0 508F addq.l A7, 8
000017C2 4ED0 jmp [A0]
000017C4 2F78 09EE 0004 move.l [A7 + 0x4], [0x000009EE /* GrayRgn */]
000017CA 4E75 rts
fn000017CC:
000017CC 4A78 028E tst.w [0x0000028E /* ROM85 */]
000017D0 6B22 bmi +0x24 /* 000017F4 */
000017D2 303C 0090 move.w D0, 0x90
000017D6 A346 syscall GetOSTrapAddress, flags=3
000017D8 2248 movea.l A1, A0
000017DA 303C 009F move.w D0, 0x9F
000017DE A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000017E0 B3C8 cmpa.l A1, A0
000017E2 6710 beq +0x12 /* 000017F4 */
000017E4 225F movea.l A1, [A7]+
000017E6 205F movea.l A0, [A7]+
000017E8 301F move.w D0, [A7]+
000017EA 2F09 move.l -[A7], A1
000017EC A090 syscall SysEnvirons
000017EE 3F40 0004 move.w [A7 + 0x4], D0
000017F2 4E75 rts
label000017F4:
000017F4 206F 0004 movea.l A0, [A7 + 0x4]
000017F8 303C 0001 move.w D0, 0x1
000017FC 2248 movea.l A1, A0
000017FE 6006 bra +0x8 /* 00001806 */
00001800 0313 btst [A3], D1
00001802 0B02 btst D2, D5
00001804 0100 btst D0, D0
label00001806:
00001806 303C 0010 move.w D0, 0x10
0000180A E240 asr D0.w, 1
0000180C 5340 subq.w D0, 1
label0000180E:
0000180E 4258 clr.w [A0]+
00001810 51C8 FFFC dbf D0, -0x6 /* 0000180E */
00001814 32BC 0001 move.w [A1], 0x1
00001818 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
0000181C 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00001822 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
00001828 6742 beq +0x44 /* 0000186C */
0000182A 4A28 0008 tst.b [A0 + 0x8]
0000182E 6E20 bgt +0x22 /* 00001850 */
00001830 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
00001836 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000183A 6B30 bmi +0x32 /* 0000186C */
0000183C 337C 0001 0002 move.w [A1 + 0x2], 0x1
00001842 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
00001846 6A24 bpl +0x26 /* 0000186C */
00001848 337C 0002 0002 move.w [A1 + 0x2], 0x2
0000184E 601C bra +0x1E /* 0000186C */
label00001850:
00001850 4269 0002 clr.w [A1 + 0x2]
00001854 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
0000185A 6E10 bgt +0x12 /* 0000186C */
0000185C 6708 beq +0xA /* 00001866 */
0000185E 337C 0004 0002 move.w [A1 + 0x2], 0x4
00001864 6006 bra +0x8 /* 0000186C */
label00001866:
00001866 337C 0003 0002 move.w [A1 + 0x2], 0x3
label0000186C:
0000186C 4269 0004 clr.w [A1 + 0x4]
00001870 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00001876 6E0A bgt +0xC /* 00001882 */
00001878 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
0000187C 5240 addq.w D0, 1
0000187E 1340 0007 move.b [A1 + 0x7], D0
label00001882:
00001882 4A78 028E tst.w [0x0000028E /* ROM85 */]
00001886 6B0E bmi +0x10 /* 00001896 */
00001888 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
0000188E 6706 beq +0x8 /* 00001896 */
00001890 137C 0001 0008 move.b [A1 + 0x8], 0x1
label00001896:
00001896 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
0000189C 6206 bhi +0x8 /* 000018A4 */
0000189E 137C 0001 0009 move.b [A1 + 0x9], 0x1
label000018A4:
000018A4 1038 021E move.b D0, [0x0000021E /* KbdType */]
000018A8 41FA FF5B lea.l A0, [PC - 0xA5 /* 00001805, value 0x303C00 '0<\0', cstring "" */]
000018AC 323C 0004 move.w D1, 0x4
label000018B0:
000018B0 B020 cmp.b D0, -[A0]
000018B2 57C9 FFFC dbeq D1, -0x6 /* 000018B0 */
000018B6 5241 addq.w D1, 1
000018B8 3341 000A move.w [A1 + 0xA], D1
000018BC 4A38 0291 tst.b [0x00000291 /* PortBUse */]
000018C0 6B18 bmi +0x1A /* 000018DA */
000018C2 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
000018C6 0201 000F andi.b D1, 0xF
000018CA 0C01 0001 cmpi.b D1, 0x1
000018CE 660A bne +0xC /* 000018DA */
000018D0 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
000018D4 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label000018DA:
000018DA 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
000018E0 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
000018E4 6D44 blt +0x46 /* 0000192A */
000018E6 4269 000E clr.w [A1 + 0xE]
000018EA 323C 003C move.w D1, 0x3C /* '<' */
label000018EE:
000018EE 4267 clr.w -[A7]
000018F0 51C9 FFFC dbf D1, -0x6 /* 000018EE */
000018F4 204F movea.l A0, A7
000018F6 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
000018FC 7008 moveq.l D0, 0x08
000018FE A260 syscall FSDispatch/HFSDispatch, flags=2
00001900 6624 bne +0x26 /* 00001926 */
00001902 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
00001908 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
0000190A 661A bne +0x1C /* 00001926 */
0000190C 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00001912 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
0000191A 7001 moveq.l D0, 0x01
0000191C A260 syscall FSDispatch/HFSDispatch, flags=2
0000191E 6606 bne +0x8 /* 00001926 */
00001920 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label00001926:
00001926 DEFC 007A add.w A7, 0x7A /* 'z' */
label0000192A:
0000192A 2049 movea.l A0, A1
0000192C 225F movea.l A1, [A7]+
0000192E 5C4F addq.w A7, 6
00001930 3EBC EA84 move.w [A7], 0xEA84
00001934 4ED1 jmp [A1]
00001936 7401 moveq.l D2, 0x01
label00001938:
00001938 205F movea.l A0, [A7]+
0000193A 3F02 move.w -[A7], D2
0000193C 2F08 move.l -[A7], A0
0000193E ADEA syscall Pack3, auto_pop
00001940 7404 moveq.l D2, 0x04
00001942 4EFA FFF4 jmp [PC - 0xC /* 00001938 */]
00001946 343C 000A move.w D2, 0xA /* '\n' */
0000194A 4EFA 0006 jmp [PC + 0x6 /* 00001952 */]
0000194E 343C 000C move.w D2, 0xC
label00001952:
00001952 205F movea.l A0, [A7]+
00001954 3F02 move.w -[A7], D2
00001956 2F08 move.l -[A7], A0
00001958 ADED syscall Pack6, auto_pop
0000195A 206F 0008 movea.l A0, [A7 + 0x8]
0000195E 3F3C 0001 move.w -[A7], 0x1
00001962 A9EE syscall Pack7/DecStr68K
00001964 206F 0004 movea.l A0, [A7 + 0x4]
00001968 2080 move.l [A0], D0
0000196A 4EFA 000E jmp [PC + 0xE /* 0000197A */]
0000196E 206F 0004 movea.l A0, [A7 + 0x4]
00001972 202F 0008 move.l D0, [A7 + 0x8]
00001976 4267 clr.w -[A7]
00001978 A9EE syscall Pack7/DecStr68K
label0000197A:
0000197A 205F movea.l A0, [A7]+
0000197C 504F addq.w A7, 8
0000197E 4ED0 jmp [A0]
00001980 2F17 move.l -[A7], [A7]
00001982 2F7C 0400 0C00 0004 move.l [A7 + 0x4], 0x4000C00
0000198A 4EFA 008E jmp [PC + 0x8E /* 00001A1A */]
0000198E 2F17 move.l -[A7], [A7]
00001990 2F7C 0800 0484 0004 move.l [A7 + 0x4], 0x8000484
00001998 4EFA 0080 jmp [PC + 0x80 /* 00001A1A */]
0000199C 2F17 move.l -[A7], [A7]
0000199E 2F7C 1000 0808 0004 move.l [A7 + 0x4], 0x10000808
000019A6 4EFA 0072 jmp [PC + 0x72 /* 00001A1A */]
000019AA 2F17 move.l -[A7], [A7]
000019AC 2F7C 1800 040C 0004 move.l [A7 + 0x4], 0x1800040C
000019B4 4EFA 0064 jmp [PC + 0x64 /* 00001A1A */]
000019B8 2F17 move.l -[A7], [A7]
000019BA 2F7C 2004 0480 0004 move.l [A7 + 0x4], 0x20040480
000019C2 4EFA 0056 jmp [PC + 0x56 /* 00001A1A */]
000019C6 2F17 move.l -[A7], [A7]
000019C8 2F7C 5204 0498 0004 move.l [A7 + 0x4], 0x52040498
000019D0 4EFA 0048 jmp [PC + 0x48 /* 00001A1A */]
000019D4 2F17 move.l -[A7], [A7]
000019D6 2F7C 6005 1480 0004 move.l [A7 + 0x4], 0x60051480
000019DE 4EFA 003A jmp [PC + 0x3A /* 00001A1A */]
000019E2 2F17 move.l -[A7], [A7]
000019E4 2F7C BA00 0000 0004 move.l [A7 + 0x4], 0xBA000000
000019EC 4EFA 002C jmp [PC + 0x2C /* 00001A1A */]
000019F0 2F17 move.l -[A7], [A7]
000019F2 2F7C C000 0200 0004 move.l [A7 + 0x4], 0xC0000200
000019FA 4EFA 001E jmp [PC + 0x1E /* 00001A1A */]
000019FE 2F17 move.l -[A7], [A7]
00001A00 2F7C C800 0000 0004 move.l [A7 + 0x4], 0xC8000000
00001A08 4EFA 0010 jmp [PC + 0x10 /* 00001A1A */]
00001A0C 2F17 move.l -[A7], [A7]
00001A0E 2F7C D000 0000 0004 move.l [A7 + 0x4], 0xD0000000
00001A16 4EFA 0002 jmp [PC + 0x2 /* 00001A1A */]
fn00001A1A:
00001A1A 2F0B move.l -[A7], A3
00001A1C 203C 0000 A89F move.l D0, 0xA89F
00001A22 A146 syscall GetTrapAddress, flags=1
00001A24 2648 movea.l A3, A0
00001A26 203C 0000 A8FD move.l D0, 0xA8FD
00001A2C A146 syscall GetTrapAddress, flags=1
00001A2E B7C8 cmpa.l A3, A0
00001A30 6746 beq +0x48 /* 00001A78 */
00001A32 265F movea.l A3, [A7]+
00001A34 4E56 0000 link A6, 0
00001A38 41EE 0008 lea.l A0, [A6 + 0x8]
00001A3C 7007 moveq.l D0, 0x07
00001A3E C02E 0008 and.b D0, [A6 + 0x8]
00001A42 D02E 000A add.b D0, [A6 + 0xA]
00001A46 5800 addq.b D0, 4
00001A48 9EC0 sub.w A7, D0
00001A4A 224F movea.l A1, A7
00001A4C A02E syscall BlockMove/BlockMoveData
00001A4E A8FD syscall PrGlue
00001A50 7200 moveq.l D1, 0x00
00001A52 122E 000A move.b D1, [A6 + 0xA]
00001A56 7007 moveq.l D0, 0x07
00001A58 C02E 0008 and.b D0, [A6 + 0x8]
00001A5C 6710 beq +0x12 /* 00001A6E */
00001A5E 204F movea.l A0, A7
00001A60 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
00001A64 E248 lsr D0.w, 1
00001A66 6002 bra +0x4 /* 00001A6A */
label00001A68:
00001A68 32DF move.w [A1]+, [A7]+
label00001A6A:
00001A6A 51C8 FFFC dbf D0, -0x6 /* 00001A68 */
label00001A6E:
00001A6E 4E5E unlink A6
00001A70 205F movea.l A0, [A7]+
00001A72 DFC1 add.l A7, D1
00001A74 584F addq.w A7, 4
00001A76 4ED0 jmp [A0]
label00001A78:
00001A78 265F movea.l A3, [A7]+
00001A7A 4E56 0000 link A6, 0
00001A7E 48E7 0018 movem.l -[A7], A3,A4
00001A82 7200 moveq.l D1, 0x00
00001A84 122E 0008 move.b D1, [A6 + 0x8]
00001A88 E609 lsr D1.b, 3
00001A8A 6718 beq +0x1A /* 00001AA4 */
00001A8C 4A2E 0008 tst.b [A6 + 0x8]
00001A90 6B00 00C2 bmi +0xC4 /* 00001B54 */
00001A94 7400 moveq.l D2, 0x00
00001A96 142E 0009 move.b D2, [A6 + 0x9]
00001A9A 661E bne +0x20 /* 00001ABA */
00001A9C 7403 moveq.l D2, 0x03
00001A9E C438 0946 and.b D2, [0x00000946 /* ChooserBits */]
00001AA2 6016 bra +0x18 /* 00001ABA */
label00001AA4:
00001AA4 206E 0014 movea.l A0, [A6 + 0x14]
00001AA8 2050 movea.l A0, [A0]
00001AAA 7403 moveq.l D2, 0x03
00001AAC C428 0044 and.b D2, [A0 + 0x44]
00001AB0 0238 00FC 0946 andi.b [0x00000946 /* ChooserBits */], 0xFC
00001AB6 8538 0946 or.b [0x00000946 /* ChooserBits */], D2
label00001ABA:
00001ABA 3678 0A5A movea.w A3, [0x00000A5A /* CurMap */]
00001ABE 42A7 clr.l -[A7]
00001AC0 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00001AC6 3F02 move.w -[A7], D2
00001AC8 A9A0 syscall GetResource
00001ACA 201F move.l D0, [A7]+
00001ACC 4A80 tst.l D0
00001ACE 664A bne +0x4C /* 00001B1A */
00001AD0 0C78 FFFF 0952 cmpi.w [0x00000952 /* PrRefNum */], 0xFFFF
00001AD6 670C beq +0xE /* 00001AE4 */
00001AD8 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
00001ADC A998 syscall UseResFile
00001ADE 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
00001AE2 6716 beq +0x18 /* 00001AFA */
label00001AE4:
00001AE4 6100 01D0 bsr +0x1D2 /* 00001CB6 */
00001AE8 4A40 tst.w D0
00001AEA 6708 beq +0xA /* 00001AF4 */
00001AEC 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
00001AF0 6000 00B0 bra +0xB2 /* 00001BA2 */
label00001AF4:
00001AF4 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
00001AF8 A998 syscall UseResFile
label00001AFA:
00001AFA 42A7 clr.l -[A7]
00001AFC 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00001B02 3F02 move.w -[A7], D2
00001B04 A9A0 syscall GetResource
00001B06 201F move.l D0, [A7]+
00001B08 4A80 tst.l D0
00001B0A 660E bne +0x10 /* 00001B1A */
00001B0C 3F0B move.w -[A7], A3
00001B0E A998 syscall UseResFile
00001B10 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
00001B16 6000 008A bra +0x8C /* 00001BA2 */
label00001B1A:
00001B1A 2840 movea.l A4, D0
00001B1C 204C movea.l A0, A4
00001B1E A029 syscall HLock
00001B20 3F0B move.w -[A7], A3
00001B22 A998 syscall UseResFile
00001B24 41EE 000C lea.l A0, [A6 + 0xC]
00001B28 7007 moveq.l D0, 0x07
00001B2A C02E 0008 and.b D0, [A6 + 0x8]
00001B2E D02E 000A add.b D0, [A6 + 0xA]
00001B32 9EC0 sub.w A7, D0
00001B34 224F movea.l A1, A7
00001B36 A02E syscall BlockMove/BlockMoveData
00001B38 102E 000B move.b D0, [A6 + 0xB]
00001B3C 0200 007F andi.b D0, 0x7F
00001B40 2054 movea.l A0, [A4]
00001B42 4EB0 0000 jsr [A0 + D0.w]
00001B46 102E 000B move.b D0, [A6 + 0xB]
00001B4A 6A04 bpl +0x6 /* 00001B50 */
00001B4C 204C movea.l A0, A4
00001B4E A02A syscall HUnlock
label00001B50:
00001B50 6000 011A bra +0x11C /* 00001C6C */
label00001B54:
00001B54 9EFC 0032 sub.w A7, 0x32 /* '2' */
00001B58 41FA 0194 lea.l A0, [PC + 0x194 /* 00001CEE, value 0x62E5072, pstring ".Print" */]
00001B5C 2F48 0012 move.l [A7 + 0x12], A0
00001B60 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
00001B66 422F 001B clr.b [A7 + 0x1B]
00001B6A 204F movea.l A0, A7
00001B6C 7000 moveq.l D0, 0x00
00001B6E 0881 0004 bclr.b D1, 0x4
00001B72 D241 add.w D1, D1
00001B74 323B 1006 move.w D1, [PC + D1.w + 0x6]
00001B78 4EFB 1002 jmp [PC + D1.w + 0x2]
00001B7C 0068 006C 0070 ori.w [A0 + 0x70], 0x6C /* 'l' */
00001B82 007A 008C 00A8 ori.w [PC + 0xA8 /* 00001C2C, value 0x5, cstring "" */], 0x8C
00001B88 00BA 00DA 00E4 0030 ori.l [PC + 0x30 /* 00001BBA, value 0x66247200 'f$r\0', cstring "f$r" */], 0xDA00E4
00001B90 0044 0020 ori.w D4, 0x20 /* ' ' */
00001B94 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00001B98 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00001B9C 31FC FFCE 0944 move.w [0x00000944 /* PrintErr */], 0xFFCE
label00001BA2:
00001BA2 7200 moveq.l D1, 0x00
00001BA4 122E 000A move.b D1, [A6 + 0xA]
00001BA8 6000 00E0 bra +0xE2 /* 00001C8A */
00001BAC 2F3C 8000 0000 move.l -[A7], 0x80000000
00001BB2 4EBA FE66 jsr [PC - 0x19A /* 00001A1A */]
00001BB6 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
00001BBA 6624 bne +0x26 /* 00001BE0 */
00001BBC 7200 moveq.l D1, 0x00
00001BBE 6002 bra +0x4 /* 00001BC2 */
00001BC0 7201 moveq.l D1, 0x01
label00001BC2:
00001BC2 6100 00F2 bsr +0xF4 /* 00001CB6 */
00001BC6 4A40 tst.w D0
00001BC8 6616 bne +0x18 /* 00001BE0 */
00001BCA 3038 0952 move.w D0, [0x00000952 /* PrRefNum */]
00001BCE 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
00001BD2 6608 bne +0xA /* 00001BDC */
00001BD4 4A41 tst.w D1
00001BD6 6704 beq +0x6 /* 00001BDC */
00001BD8 3F00 move.w -[A7], D0
00001BDA A99A syscall CloseResFile
label00001BDC:
00001BDC 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label00001BE0:
00001BE0 6000 0082 bra +0x84 /* 00001C64 */
00001BE4 A000 syscall Open/PBHOpen/HOpen
00001BE6 607C bra +0x7E /* 00001C64 */
00001BE8 A001 syscall Close
00001BEA 6078 bra +0x7A /* 00001C64 */
00001BEC 615A bsr +0x5C /* 00001C48 */
00001BEE DEFC 002E add.w A7, 0x2E /* '.' */
00001BF2 2E88 move.l [A7], A0
00001BF4 6076 bra +0x78 /* 00001C6C */
00001BF6 6150 bsr +0x52 /* 00001C48 */
00001BF8 2050 movea.l A0, [A0]
00001BFA 7000 moveq.l D0, 0x00
00001BFC 1028 0007 move.b D0, [A0 + 0x7]
00001C00 DEFC 0030 add.w A7, 0x30 /* '0' */
00001C04 3E80 move.w [A7], D0
00001C06 6064 bra +0x66 /* 00001C6C */
00001C08 216E 000C 0024 move.l [A0 + 0x24], [A6 + 0xC]
00001C0E 216E 0010 0020 move.l [A0 + 0x20], [A6 + 0x10]
00001C14 216E 0014 001C move.l [A0 + 0x1C], [A6 + 0x14]
00001C1A 316E 0018 001A move.w [A0 + 0x1A], [A6 + 0x18]
00001C20 A004 syscall Control
00001C22 6040 bra +0x42 /* 00001C64 */
00001C24 6122 bsr +0x24 /* 00001C48 */
00001C26 2050 movea.l A0, [A0]
00001C28 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00001C2E 6734 beq +0x36 /* 00001C64 */
00001C30 2050 movea.l A0, [A0]
00001C32 A049 syscall HPurge
00001C34 602E bra +0x30 /* 00001C64 */
00001C36 6110 bsr +0x12 /* 00001C48 */
00001C38 2050 movea.l A0, [A0]
00001C3A 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00001C40 6722 beq +0x24 /* 00001C64 */
00001C42 2050 movea.l A0, [A0]
00001C44 A04A syscall HNoPurge
00001C46 601C bra +0x1E /* 00001C64 */
fn00001C48:
00001C48 317C 0001 001A move.w [A0 + 0x1A], 0x1
00001C4E A005 syscall Status
00001C50 2068 001C movea.l A0, [A0 + 0x1C]
00001C54 4E75 rts
00001C56 DEFC 0030 add.w A7, 0x30 /* '0' */
00001C5A 3EB8 0944 move.w [A7], [0x00000944 /* PrintErr */]
00001C5E 600C bra +0xE /* 00001C6C */
00001C60 302E 000C move.w D0, [A6 + 0xC]
label00001C64:
00001C64 DEFC 0032 add.w A7, 0x32 /* '2' */
00001C68 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
label00001C6C:
00001C6C 7200 moveq.l D1, 0x00
00001C6E 122E 000A move.b D1, [A6 + 0xA]
00001C72 7007 moveq.l D0, 0x07
00001C74 C02E 0008 and.b D0, [A6 + 0x8]
00001C78 6710 beq +0x12 /* 00001C8A */
00001C7A 204F movea.l A0, A7
00001C7C 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
00001C80 E248 lsr D0.w, 1
00001C82 6002 bra +0x4 /* 00001C86 */
label00001C84:
00001C84 32DF move.w [A1]+, [A7]+
label00001C86:
00001C86 51C8 FFFC dbf D0, -0x6 /* 00001C84 */
label00001C8A:
00001C8A 4CDF 1800 movem.l A3,A4, [A7]+
00001C8E 4E5E unlink A6
00001C90 205F movea.l A0, [A7]+
00001C92 DFC1 add.l A7, D1
00001C94 584F addq.w A7, 4
00001C96 4ED0 jmp [A0]
fn00001C98:
00001C98 7000 moveq.l D0, 0x00
fn00001C9A:
00001C9A 9EFC 0040 sub.w A7, 0x40 /* '@' */
00001C9E 204F movea.l A0, A7
00001CA0 3140 0016 move.w [A0 + 0x16], D0
00001CA4 42A8 0012 clr.l [A0 + 0x12]
00001CA8 A015 syscall SetVol/PBHSetVol/HSetVol
00001CAA A014 syscall GetVol/PBHGetVol/HGetVol
00001CAC 3028 0016 move.w D0, [A0 + 0x16]
00001CB0 DEFC 0040 add.w A7, 0x40 /* '@' */
00001CB4 4E75 rts
fn00001CB6:
00001CB6 594F subq.w A7, 4
00001CB8 3F3C E000 move.w -[A7], 0xE000
00001CBC A9BA syscall GetString
00001CBE 201F move.l D0, [A7]+
00001CC0 6606 bne +0x8 /* 00001CC8 */
00001CC2 303C FF40 move.w D0, 0xFF40
00001CC6 6024 bra +0x26 /* 00001CEC */
label00001CC8:
00001CC8 2240 movea.l A1, D0
00001CCA 61CC bsr -0x32 /* 00001C98 */
00001CCC 4841 swap.w D1
00001CCE 3200 move.w D1, D0
00001CD0 554F subq.w A7, 2
00001CD2 2049 movea.l A0, A1
00001CD4 A029 syscall HLock
00001CD6 2F11 move.l -[A7], [A1]
00001CD8 A997 syscall OpenResFile
00001CDA 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+
00001CDE 2049 movea.l A0, A1
00001CE0 A02A syscall HUnlock
00001CE2 3001 move.w D0, D1
00001CE4 4841 swap.w D1
00001CE6 61B2 bsr -0x4C /* 00001C9A */
00001CE8 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label00001CEC:
00001CEC 4E75 rts
00001CEE 062E 5072 696E addi.b [A6 + 0x696E], 0x72 /* 'r' */
00001CF4 7420 moveq.l D2, 0x20
00001CF6 225F movea.l A1, [A7]+
00001CF8 205F movea.l A0, [A7]+
00001CFA 7006 moveq.l D0, 0x06
00001CFC A06E syscall SlotManager
00001CFE 3E80 move.w [A7], D0
00001D00 4ED1 jmp [A1]
00001D02 225F movea.l A1, [A7]+
00001D04 205F movea.l A0, [A7]+
00001D06 7007 moveq.l D0, 0x07
00001D08 A06E syscall SlotManager
00001D0A 3E80 move.w [A7], D0
00001D0C 4ED1 jmp [A1]
00001D0E 225F movea.l A1, [A7]+
00001D10 205F movea.l A0, [A7]+
00001D12 7015 moveq.l D0, 0x15
00001D14 A06E syscall SlotManager
00001D16 3E80 move.w [A7], D0
00001D18 4ED1 jmp [A1]
00001D1A 4A78 028E tst.w [0x0000028E /* ROM85 */]
00001D1E 6B1C bmi +0x1E /* 00001D3C */
00001D20 303C A89F move.w D0, 0xA89F
00001D24 A346 syscall GetOSTrapAddress, flags=3
00001D26 2248 movea.l A1, A0
00001D28 303C A055 move.w D0, 0xA055
00001D2C A346 syscall GetOSTrapAddress, flags=3
00001D2E B3C8 cmpa.l A1, A0
00001D30 670A beq +0xC /* 00001D3C */
00001D32 225F movea.l A1, [A7]+
00001D34 201F move.l D0, [A7]+
00001D36 A055 syscall StripAddress
00001D38 2E80 move.l [A7], D0
00001D3A 4ED1 jmp [A1]
label00001D3C:
00001D3C 225F movea.l A1, [A7]+
00001D3E 201F move.l D0, [A7]+
00001D40 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00001D44 2E80 move.l [A7], D0
00001D46 4ED1 jmp [A1]
00001D48 4E56 FFF4 link A6, -0x000C
00001D4C 486E FFF4 pea.l [A6 - 0xC]
00001D50 3F3C 0017 move.w -[A7], 0x17
00001D54 A9EB syscall Pack4/FP68K
00001D56 3F3C 6000 move.w -[A7], 0x6000 /* '`\0' */
00001D5A 4857 pea.l [A7]
00001D5C 3F3C 0001 move.w -[A7], 0x1
00001D60 A9EB syscall Pack4/FP68K
00001D62 548F addq.l A7, 2
00001D64 41EE FFF6 lea.l A0, [A6 - 0xA]
00001D68 226E 0008 movea.l A1, [A6 + 0x8]
00001D6C 20D9 move.l [A0]+, [A1]+
00001D6E 20D9 move.l [A0]+, [A1]+
00001D70 3091 move.w [A0], [A1]
00001D72 5188 subq.l A0, 8
00001D74 43EE 000C lea.l A1, [A6 + 0xC]
00001D78 613E bsr +0x40 /* 00001DB8 */
00001D7A 3F3C 0004 move.w -[A7], 0x4
00001D7E 4857 pea.l [A7]
00001D80 3F3C 001B move.w -[A7], 0x1B
00001D84 A9EB syscall Pack4/FP68K
00001D86 101F move.b D0, [A7]+
00001D88 671C beq +0x1E /* 00001DA6 */
00001D8A 7200 moveq.l D1, 0x00
00001D8C 0890 0007 bclr.b [A0], 0x7
00001D90 6704 beq +0x6 /* 00001D96 */
00001D92 123C 0080 move.b D1, 0x80
label00001D96:
00001D96 487A 002C pea.l [PC + 0x2C /* 00001DC4, value 0x3F000000 '?\0\0\0', cstring "?" */]
00001D9A 4850 pea.l [A0]
00001D9C 3F3C 1000 move.w -[A7], 0x1000
00001DA0 A9EB syscall Pack4/FP68K
00001DA2 8310 or.b [A0], D1
00001DA4 6112 bsr +0x14 /* 00001DB8 */
label00001DA6:
00001DA6 486E FFF4 pea.l [A6 - 0xC]
00001DAA 3F3C 0019 move.w -[A7], 0x19
00001DAE A9EB syscall Pack4/FP68K
00001DB0 4E5E unlink A6
00001DB2 205F movea.l A0, [A7]+
00001DB4 584F addq.w A7, 4
00001DB6 4ED0 jmp [A0]
fn00001DB8:
00001DB8 4850 pea.l [A0]
00001DBA 4851 pea.l [A1]
00001DBC 3F3C 2810 move.w -[A7], 0x2810
00001DC0 A9EB syscall Pack4/FP68K
00001DC2 4E75 rts
00001DC4 3F00 move.w -[A7], D0
00001DC6 0000 2F00 ori.b D0, 0x0
00001DCA 2F01 move.l -[A7], D1
00001DCC 302F 0010 move.w D0, [A7 + 0x10]
00001DD0 C1EF 000E muls.w D0, [A7 + 0xE]
00001DD4 322F 000C move.w D1, [A7 + 0xC]
00001DD8 C3EF 0012 muls.w D1, [A7 + 0x12]
00001DDC D041 add.w D0, D1
00001DDE 4840 swap.w D0
00001DE0 4240 clr.w D0
00001DE2 322F 0012 move.w D1, [A7 + 0x12]
00001DE6 C2EF 000E mulu.w D1, [A7 + 0xE]
00001DEA D081 add.l D0, D1
00001DEC 2F40 0010 move.l [A7 + 0x10], D0
00001DF0 221F move.l D1, [A7]+
00001DF2 201F move.l D0, [A7]+
00001DF4 2F57 0004 move.l [A7 + 0x4], [A7]
00001DF8 588F addq.l A7, 4
00001DFA 4E75 rts
00001DFC 4E56 0000 link A6, 0
00001E00 2F00 move.l -[A7], D0
00001E02 2F01 move.l -[A7], D1
00001E04 202F 0014 move.l D0, [A7 + 0x14]
00001E08 222F 0010 move.l D1, [A7 + 0x10]
00001E0C 4EBA 003A jsr [PC + 0x3A /* 00001E48 */]
00001E10 2F41 0014 move.l [A7 + 0x14], D1
00001E14 221F move.l D1, [A7]+
00001E16 201F move.l D0, [A7]+
00001E18 4E5E unlink A6
00001E1A 2F57 0004 move.l [A7 + 0x4], [A7]
00001E1E 588F addq.l A7, 4
00001E20 4E75 rts
00001E22 4E56 0000 link A6, 0
00001E26 2F00 move.l -[A7], D0
00001E28 2F01 move.l -[A7], D1
00001E2A 202F 0014 move.l D0, [A7 + 0x14]
00001E2E 222F 0010 move.l D1, [A7 + 0x10]
00001E32 4EBA 0014 jsr [PC + 0x14 /* 00001E48 */]
00001E36 2F40 0014 move.l [A7 + 0x14], D0
00001E3A 221F move.l D1, [A7]+
00001E3C 201F move.l D0, [A7]+
00001E3E 4E5E unlink A6
00001E40 2F57 0004 move.l [A7 + 0x4], [A7]
00001E44 588F addq.l A7, 4
00001E46 4E75 rts
fn00001E48:
00001E48 48E7 3E00 movem.l -[A7], D2,D3,D4,D5,D6
00001E4C 2A00 move.l D5, D0
00001E4E 6A02 bpl +0x4 /* 00001E52 */
00001E50 4480 neg.l D0
label00001E52:
00001E52 2C01 move.l D6, D1
00001E54 6A02 bpl +0x4 /* 00001E58 */
00001E56 4481 neg.l D1
label00001E58:
00001E58 2401 move.l D2, D1
00001E5A 4842 swap.w D2
00001E5C 4A42 tst.w D2
00001E5E 661C bne +0x1E /* 00001E7C */
00001E60 3600 move.w D3, D0
00001E62 4240 clr.w D0
00001E64 4840 swap.w D0
00001E66 6704 beq +0x6 /* 00001E6C */
00001E68 80C1 divu.w D0, D1
00001E6A 3400 move.w D2, D0
label00001E6C:
00001E6C 4842 swap.w D2
00001E6E 3003 move.w D0, D3
00001E70 80C1 divu.w D0, D1
00001E72 3400 move.w D2, D0
00001E74 2202 move.l D1, D2
00001E76 4240 clr.w D0
00001E78 4840 swap.w D0
00001E7A 6022 bra +0x24 /* 00001E9E */
label00001E7C:
00001E7C 2400 move.l D2, D0
00001E7E 4240 clr.w D0
00001E80 4840 swap.w D0
00001E82 4842 swap.w D2
00001E84 4242 clr.w D2
00001E86 2601 move.l D3, D1
00001E88 7200 moveq.l D1, 0x00
00001E8A 780F moveq.l D4, 0x0F
label00001E8C:
00001E8C D482 add.l D2, D2
00001E8E D180 addx.l D0, D0
00001E90 D281 add.l D1, D1
00001E92 B083 cmp.l D0, D3
00001E94 6D04 blt +0x6 /* 00001E9A */
00001E96 9083 sub.l D0, D3
00001E98 5201 addq.b D1, 1
label00001E9A:
00001E9A 51CC FFF0 dbf D4, -0x12 /* 00001E8C */
label00001E9E:
00001E9E 4A85 tst.l D5
00001EA0 6A02 bpl +0x4 /* 00001EA4 */
00001EA2 4480 neg.l D0
label00001EA4:
00001EA4 BB86 xor.l D6, D5
00001EA6 6A02 bpl +0x4 /* 00001EAA */
00001EA8 4481 neg.l D1
label00001EAA:
00001EAA 4CDF 007C movem.l D2,D3,D4,D5,D6, [A7]+
00001EAE 4E75 rts
00001EB0 48E7 F8E0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2
00001EB4 41EF 0024 lea.l A0, [A7 + 0x24]
00001EB8 3010 move.w D0, [A0]
00001EBA 4250 clr.w [A0]
00001EBC 3200 move.w D1, D0
00001EBE E849 lsr D1.w, 4
00001EC0 3401 move.w D2, D1
00001EC2 5242 addq.w D2, 1
00001EC4 3602 move.w D3, D2
00001EC6 E34B lsl D3.w, 1
00001EC8 224F movea.l A1, A7
00001ECA 9EC3 sub.w A7, D3
00001ECC 244F movea.l A2, A7
00001ECE 383C 0012 move.w D4, 0x12
label00001ED2:
00001ED2 34D9 move.w [A2]+, [A1]+
00001ED4 5344 subq.w D4, 1
00001ED6 66FA bne -0x4 /* 00001ED2 */
00001ED8 204A movea.l A0, A2
label00001EDA:
00001EDA 425A clr.w [A2]+
00001EDC 5342 subq.w D2, 1
00001EDE 66FA bne -0x4 /* 00001EDA */
00001EE0 30C3 move.w [A0]+, D3
00001EE2 4242 clr.w D2
00001EE4 0240 000F andi.w D0, 0xF
00001EE8 01C2 .incomplete
00001EEA 3082 move.w [A0], D2
00001EEC 4CDF 071F movem.l D0,D1,D2,D3,D4,A0,A1,A2, [A7]+
00001EF0 4E75 rts
00001EF2 42A7 clr.l -[A7]
00001EF4 48E7 F0C0 movem.l -[A7], D0,D1,D2,D3,A0,A1
00001EF8 41EF 0020 lea.l A0, [A7 + 0x20]
00001EFC 3018 move.w D0, [A0]+
00001EFE D0C0 add.w A0, D0
00001F00 2248 movea.l A1, A0
00001F02 3219 move.w D1, [A1]+
00001F04 D2C1 add.w A1, D1
00001F06 3600 move.w D3, D0
00001F08 B240 cmp.w D1, D0
00001F0A 6C02 bge +0x4 /* 00001F0E */
00001F0C 3601 move.w D3, D1
label00001F0E:
00001F0E E24B lsr D3.w, 1
00001F10 6004 bra +0x6 /* 00001F16 */
label00001F12:
00001F12 3420 move.w D2, -[A0]
00001F14 8561 or.w -[A1], D2
label00001F16:
00001F16 5343 subq.w D3, 1
00001F18 6AF8 bpl -0x6 /* 00001F12 */
00001F1A 9041 sub.w D0, D1
00001F1C 6710 beq +0x12 /* 00001F2E */
00001F1E 6D0C blt +0xE /* 00001F2C */
00001F20 D240 add.w D1, D0
00001F22 E248 lsr D0.w, 1
label00001F24:
00001F24 3320 move.w -[A1], -[A0]
00001F26 5340 subq.w D0, 1
00001F28 6EFA bgt -0x4 /* 00001F24 */
00001F2A 6002 bra +0x4 /* 00001F2E */
label00001F2C:
00001F2C D2C0 add.w A1, D0
label00001F2E:
00001F2E 3301 move.w -[A1], D1
00001F30 206F 001C movea.l A0, [A7 + 0x1C]
00001F34 2308 move.l -[A1], A0
00001F36 2F49 0018 move.l [A7 + 0x18], A1
00001F3A 4CDF 030F movem.l D0,D1,D2,D3,A0,A1, [A7]+
00001F3E 2E5F movea.l A7, [A7]+
00001F40 4E75 rts
00001F42 42A7 clr.l -[A7]
00001F44 48E7 F0C0 movem.l -[A7], D0,D1,D2,D3,A0,A1
00001F48 41EF 0020 lea.l A0, [A7 + 0x20]
00001F4C 3018 move.w D0, [A0]+
00001F4E D0C0 add.w A0, D0
00001F50 2248 movea.l A1, A0
00001F52 3219 move.w D1, [A1]+
00001F54 D2C1 add.w A1, D1
00001F56 3600 move.w D3, D0
00001F58 B240 cmp.w D1, D0
00001F5A 6C02 bge +0x4 /* 00001F5E */
00001F5C 3601 move.w D3, D1
label00001F5E:
00001F5E E24B lsr D3.w, 1
00001F60 6006 bra +0x8 /* 00001F68 */
label00001F62:
00001F62 3420 move.w D2, -[A0]
00001F64 4642 not.w D2
00001F66 C561 and.w -[A1], D2
label00001F68:
00001F68 5343 subq.w D3, 1
00001F6A 6AF6 bpl -0x8 /* 00001F62 */
00001F6C 9041 sub.w D0, D1
00001F6E 6E02 bgt +0x4 /* 00001F72 */
00001F70 D2C0 add.w A1, D0
label00001F72:
00001F72 3301 move.w -[A1], D1
00001F74 206F 001C movea.l A0, [A7 + 0x1C]
00001F78 2308 move.l -[A1], A0
00001F7A 2F49 0018 move.l [A7 + 0x18], A1
00001F7E 4CDF 030F movem.l D0,D1,D2,D3,A0,A1, [A7]+
00001F82 2E5F movea.l A7, [A7]+
00001F84 4E75 rts
00001F86 9EFC 0100 sub.w A7, 0x100
00001F8A 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00001F8E 302F 0114 move.w D0, [A7 + 0x114]
00001F92 322F 0116 move.w D1, [A7 + 0x116]
00001F96 41EF 0118 lea.l A0, [A7 + 0x118]
00001F9A 226F 0110 movea.l A1, [A7 + 0x110]
00001F9E 9240 sub.w D1, D0
00001FA0 6C08 bge +0xA /* 00001FAA */
label00001FA2:
00001FA2 4260 clr.w -[A0]
00001FA4 5441 addq.w D1, 2
00001FA6 6BFA bmi -0x4 /* 00001FA2 */
00001FA8 6002 bra +0x4 /* 00001FAC */
label00001FAA:
00001FAA D0C1 add.w A0, D1
label00001FAC:
00001FAC 2109 move.l -[A0], A1
00001FAE 2F48 0010 move.l [A7 + 0x10], A0
00001FB2 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00001FB6 2E5F movea.l A7, [A7]+
00001FB8 4E75 rts
00001FBA 48E7 E0F0 movem.l -[A7], D0,D1,D2,A0,A1,A2,A3
00001FBE 206F 0020 movea.l A0, [A7 + 0x20]
00001FC2 4240 clr.w D0
00001FC4 1018 move.b D0, [A0]+
00001FC6 226F 0024 movea.l A1, [A7 + 0x24]
00001FCA 4242 clr.w D2
00001FCC 1419 move.b D2, [A1]+
00001FCE 9042 sub.w D0, D2
00001FD0 6C04 bge +0x6 /* 00001FD6 */
00001FD2 4241 clr.w D1
00001FD4 6020 bra +0x22 /* 00001FF6 */
label00001FD6:
00001FD6 5342 subq.w D2, 1
label00001FD8:
00001FD8 2448 movea.l A2, A0
00001FDA 2649 movea.l A3, A1
00001FDC 3202 move.w D1, D2
label00001FDE:
00001FDE B50B cmpm.b [A2]+, [A3]+
00001FE0 56C9 FFFC dbne D1, -0x6 /* 00001FDE */
00001FE4 670A beq +0xC /* 00001FF0 */
00001FE6 5288 addq.l A0, 1
00001FE8 51C8 FFEE dbf D0, -0x14 /* 00001FD8 */
00001FEC 4241 clr.w D1
00001FEE 6006 bra +0x8 /* 00001FF6 */
label00001FF0:
00001FF0 2208 move.l D1, A0
00001FF2 92AF 0020 sub.l D1, [A7 + 0x20]
label00001FF6:
00001FF6 3F41 0026 move.w [A7 + 0x26], D1
00001FFA 4CDF 0F07 movem.l D0,D1,D2,A0,A1,A2,A3, [A7]+
00001FFE 2F57 0006 move.l [A7 + 0x6], [A7]
00002002 5C4F addq.w A7, 6
00002004 4E75 rts
00002006 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2
0000200A 43EF 001C lea.l A1, [A7 + 0x1C]
0000200E 3019 move.w D0, [A1]+
00002010 2059 movea.l A0, [A1]+
00002012 3400 move.w D2, D0
00002014 D442 add.w D2, D2
00002016 D442 add.w D2, D2
00002018 D2C2 add.w A1, D2
0000201A 4241 clr.w D1
0000201C 5248 addq.w A0, 1
0000201E 6020 bra +0x22 /* 00002040 */
label00002020:
00002020 2461 movea.l A2, -[A1]
00002022 4242 clr.w D2
00002024 141A move.b D2, [A2]+
00002026 D242 add.w D1, D2
00002028 0C41 00FF cmpi.w D1, 0xFF
0000202C 6F0E ble +0x10 /* 0000203C */
0000202E 0441 00FF subi.w D1, 0xFF
00002032 9441 sub.w D2, D1
00002034 323C 00FF move.w D1, 0xFF
00002038 6002 bra +0x4 /* 0000203C */
label0000203A:
0000203A 10DA move.b [A0]+, [A2]+
label0000203C:
0000203C 51CA FFFC dbf D2, -0x6 /* 0000203A */
label00002040:
00002040 51C8 FFDE dbf D0, -0x24 /* 00002020 */
00002044 2061 movea.l A0, -[A1]
00002046 1081 move.b [A0], D1
00002048 3021 move.w D0, -[A1]
0000204A 2049 movea.l A0, A1
0000204C D040 add.w D0, D0
0000204E D040 add.w D0, D0
00002050 D0C0 add.w A0, D0
00002052 5448 addq.w A0, 2
00002054 20A1 move.l [A0], -[A1]
00002056 2288 move.l [A1], A0
00002058 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
0000205C 2E5F movea.l A7, [A7]+
0000205E 4E75 rts
00002060 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00002064 43EF 0018 lea.l A1, [A7 + 0x18]
00002068 2059 movea.l A0, [A1]+
0000206A 3019 move.w D0, [A1]+
0000206C 6F36 ble +0x38 /* 000020A4 */
0000206E 0C40 00FF cmpi.w D0, 0xFF
00002072 6E30 bgt +0x32 /* 000020A4 */
00002074 3219 move.w D1, [A1]+
00002076 6F2C ble +0x2E /* 000020A4 */
00002078 0C41 00FF cmpi.w D1, 0xFF
0000207C 6E26 bgt +0x28 /* 000020A4 */
0000207E 5341 subq.w D1, 1
00002080 2251 movea.l A1, [A1]
00002082 4242 clr.w D2
00002084 1419 move.b D2, [A1]+
00002086 9441 sub.w D2, D1
00002088 9440 sub.w D2, D0
0000208A 6D18 blt +0x1A /* 000020A4 */
0000208C D2C1 add.w A1, D1
0000208E 10C0 move.b [A0]+, D0
00002090 5340 subq.w D0, 1
label00002092:
00002092 10D9 move.b [A0]+, [A1]+
00002094 51C8 FFFC dbf D0, -0x6 /* 00002092 */
label00002098:
00002098 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
0000209C 2F5F 0008 move.l [A7 + 0x8], [A7]+
000020A0 504F addq.w A7, 8
000020A2 4E75 rts
label000020A4:
000020A4 4210 clr.b [A0]
000020A6 60F0 bra -0xE /* 00002098 */
000020A8 225F movea.l A1, [A7]+
000020AA 301F move.w D0, [A7]+
000020AC 321F move.w D1, [A7]+
000020AE 205F movea.l A0, [A7]+
000020B0 6F0C ble +0xE /* 000020BE */
000020B2 4A40 tst.w D0
000020B4 6F08 ble +0xA /* 000020BE */
000020B6 4242 clr.w D2
000020B8 1410 move.b D2, [A0]
000020BA B441 cmp.w D2, D1
000020BC 6C02 bge +0x4 /* 000020C0 */
label000020BE:
000020BE 4ED1 jmp [A1]
label000020C0:
000020C0 9441 sub.w D2, D1
000020C2 9440 sub.w D2, D0
000020C4 6C06 bge +0x8 /* 000020CC */
000020C6 5341 subq.w D1, 1
000020C8 1081 move.b [A0], D1
000020CA 4ED1 jmp [A1]
label000020CC:
000020CC 2F09 move.l -[A7], A1
000020CE 9110 sub.b [A0], D0
000020D0 D0C1 add.w A0, D1
000020D2 2248 movea.l A1, A0
000020D4 D2C0 add.w A1, D0
label000020D6:
000020D6 10D9 move.b [A0]+, [A1]+
000020D8 51CA FFFC dbf D2, -0x6 /* 000020D6 */
000020DC 4E75 rts
000020DE 221F move.l D1, [A7]+
000020E0 301F move.w D0, [A7]+
000020E2 225F movea.l A1, [A7]+
000020E4 205F movea.l A0, [A7]+
000020E6 5340 subq.w D0, 1
000020E8 6D08 blt +0xA /* 000020F2 */
000020EA 4242 clr.w D2
000020EC 1411 move.b D2, [A1]
000020EE B440 cmp.w D2, D0
000020F0 6C04 bge +0x6 /* 000020F6 */
label000020F2:
000020F2 2041 movea.l A0, D1
000020F4 4ED0 jmp [A0]
label000020F6:
000020F6 2F01 move.l -[A7], D1
000020F8 2F0A move.l -[A7], A2
000020FA 3F03 move.w -[A7], D3
000020FC 4241 clr.w D1
000020FE 1218 move.b D1, [A0]+
00002100 3601 move.w D3, D1
00002102 D642 add.w D3, D2
00002104 12C3 move.b [A1]+, D3
00002106 2449 movea.l A2, A1
00002108 D4C3 add.w A2, D3
0000210A D2C2 add.w A1, D2
0000210C 9440 sub.w D2, D0
0000210E 6002 bra +0x4 /* 00002112 */
label00002110:
00002110 1521 move.b -[A2], -[A1]
label00002112:
00002112 51CA FFFC dbf D2, -0x6 /* 00002110 */
00002116 6002 bra +0x4 /* 0000211A */
label00002118:
00002118 12D8 move.b [A1]+, [A0]+
label0000211A:
0000211A 51C9 FFFC dbf D1, -0x6 /* 00002118 */
0000211E 361F move.w D3, [A7]+
00002120 245F movea.l A2, [A7]+
00002122 4E75 rts
00002124 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00002128 7201 moveq.l D1, 0x01
0000212A 6006 bra +0x8 /* 00002132 */
0000212C 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00002130 4241 clr.w D1
label00002132:
00002132 206F 0018 movea.l A0, [A7 + 0x18]
00002136 226F 0014 movea.l A1, [A7 + 0x14]
0000213A 4240 clr.w D0
0000213C 1010 move.b D0, [A0]
label0000213E:
0000213E B308 cmpm.b [A1]+, [A0]+
00002140 56C8 FFFC dbne D0, -0x6 /* 0000213E */
00002144 6604 bne +0x6 /* 0000214A */
00002146 0A41 0001 xori.w D1, 0x1
label0000214A:
0000214A 1F41 001A move.b [A7 + 0x1A], D1
0000214E 2F6F 0010 0016 move.l [A7 + 0x16], [A7 + 0x10]
00002154 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00002158 5C4F addq.w A7, 6
0000215A 4E75 rts
0000215C 0000 11FE ori.b D0, 0xFE
00002160 0000 0000 ori.b D0, 0x0
00002164 0000 0000 ori.b D0, 0x0
00002168 0000 2160 ori.b D0, 0x60 /* '`' */
0000216C 2541 3569 move.l [A2 + 0x3569], D1